-
Notifications
You must be signed in to change notification settings - Fork 76
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
WIP: Remove module list in the sidebar #444
Draft
core-man
wants to merge
8
commits into
main
Choose a base branch
from
module
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 7 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
09fe452
Change the order of api and module
core-man f9b7f9d
Test orphan in basemap
core-man ac6f880
Remove orphan in basemap
core-man b02f49c
Test level-2 layout
core-man 8dea903
Merge branch 'master' into module
core-man 2eb1874
Add includehidden in html_theme_options
core-man bdbfe73
Merge branch 'master' into module
core-man 423c128
Merge branch 'master' into module
seisman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,8 +88,8 @@ GMT 是地球科学最广泛使用的制图软件之一。 | |
dataset/index | ||
dataset-CN/index | ||
chinese/index | ||
api/index | ||
module/index | ||
api/index | ||
Comment on lines
-79
to
+80
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See #442 (comment):
|
||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -504,7 +504,6 @@ | |
\setcounter{secnumdepth}{1} | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:hidden: | ||
|
||
basemap | ||
|
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.
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.
加这个设置的话,所有使用
:hidden:
的文件都不会显示在左侧了,但是目前以下文件使用了:hidden:
:index.rst
: 这个文档都没有目录了 😄dataset/index.rst
migrating/index.rst
module/index.rst
option/index.rst
proj/index.rst
为了左侧目录也能显示,就要在这些文件里去掉
hidden
,但这样的话,页面里就会有目录。看来必须二选一了。
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.
这个问题仍没有办法解决吗?
gmt 官方也是用的
"includehidden": False
,或许我们应该和官方一致,减少维护负担