-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The Sphinx "doc" role requires a full document name, i.e. being explicit about "index" pages. This makes sense as it's using filesystem semantics. Our rendering of rST to text for command-line help, however, turns "doc" roles into URLs and assumed URL semantics, i.e. where "/index.html" can be left implicit. This led to a semantic mismatch, which I noticed due to a "unknown reference" warning during the Sphinx build now that we include a (unlisted) doc page for `nextstrain`. Resolve the mismatch by using the standard Sphinx filesystem semantics in all our usage of the "doc" role and extend our rST to text conversion to explicitly handle the filesystem → URL semantic shift.
- Loading branch information
Showing
3 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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 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 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