[waiting] Generate content ID references instead of relative URLs.#27
Open
smashwilson wants to merge 2 commits intodeconst:masterfrom
Open
[waiting] Generate content ID references instead of relative URLs.#27smashwilson wants to merge 2 commits intodeconst:masterfrom
smashwilson wants to merge 2 commits intodeconst:masterfrom
Conversation
7 tasks
Member
Author
|
This will modify the preparer to render nunjucks-ish markup for all Sphinx-generated internal links, and use a {
"toc": "...",
"layout_key": "default",
"previous": {
"contentID": "https://github.com/rackerlabs/docs-core-infra-user-guide/cloud-config/compute/cloud-servers-product-concepts/server-events",
"title": "Monitoring events on your cloud server"
},
"next": {
"contentID": "https://github.com/rackerlabs/docs-core-infra-user-guide/cloud-config/compute/cloud-images-product-concepts",
"title": "Understanding Cloud Images"
},
"body": "... <li><a class=\"reference internal\" href=\"{{ to('https://github.com/rackerlabs/docs-core-infra-user-guide/cloud-interfaces/gui/cloudservers-gui') }}#cloudservers-gui\"><em>Cloud Servers and the Cloud Control Panel</em></a>...",
"title": "Actions for Cloud Servers"
}Notice that URL fragments will still be intact. 🚧 This PR is ready to go, but I can't merge until all of deconst/deconst-docs#105 is ready to 🚢. 🚧 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Implements the Sphinx preparer part of deconst/deconst-docs#105.
Remaining Work
{{ to(target-content-id) }}instead of relative URLs.nextandpreviouslinks in the metadata envelope.