-
Notifications
You must be signed in to change notification settings - Fork 3.8k
(trunk) CASSANDRA-16763 Create Cassandra documentation content for new website #1128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 3 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
568d973
CASSANDRA-16763: Migrate documentation to AsciiDoc
polandll 317a53a
CASSANDRA-16763: Update doc tooling and generated files
ossarga b3840e8
CASSANDRA-16763: Updated license check and gitignore
ossarga 0d6f4e8
SQUASH ME - make `ant gen-doc` work again (in a preliminary way). upd…
michaelsembwever File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| name: Cassandra | ||
| version: 'trunk' | ||
| display_version: 'trunk' | ||
| asciidoc: | ||
| attributes: | ||
| cass_url: 'http://cassandra.apache.org/' | ||
| nav: | ||
| - modules/ROOT/nav.adoc | ||
| - modules/cassandra/nav.adoc |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ant gen-docno longer works. (becausedoc/Makefileis removed)There is now way to generate docs from the cassandra directory (everything is now done here).
Is there a minimum
doc/Makefilewe can put in place so thatant gen-docruns in a basic form, for the sake of catching breakages…?In fact… can we move some of that docker-entrypoint.sh back into
doc/Makefile?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see
polandll#16
and
apache/cassandra-website#86
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. I guess we have a Makefile that does part of what the
generate_cassandra_versioned_docsfunction in the docker-entrypoint.sh does. That is, build the jar files, then call the nodetool and cassandra configuration adoc generation scripts. This would be the most thatgen-doccould do and should be enough to weed out any breakages. The README also needs to be updated. We would need to make this change on all three branches.As a bonus, we could probably update the
generate_cassandra_versioned_docsfunction to callant gen-doc.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, covered in the PRs above.
But… i'm going to change the Makefile and ant targets for compatibility reasons.
Generating in-tree docs:
ant gen-docandmake htmlare for a full antora build of the in-tree docs. This won't be implemented in these PRs, but will be reserved for when it is. (We had previously spoken about being able to create non-styled antora docs, even something that can be put intomanpages.)New targets for generating the dynamic adoc pages:
ant gen-asciidocandmake gen-asciidoc.The former will be called from the
generate_cassandra_versioned_docsfunction.Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PRs updated accordingly. (#16 needs to be applied to three branches.)
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's another commit for trunk in polandll#18 (i botched the squash me commit you merged in already)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR for
cassandra-4.0polandll#17PR for
cassandra-3.11polandll#19