Skip to content
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

Using rubric instead of TOC'able titles #85

Open
j3mdamas opened this issue Oct 23, 2017 · 3 comments
Open

Using rubric instead of TOC'able titles #85

j3mdamas opened this issue Oct 23, 2017 · 3 comments

Comments

@j3mdamas
Copy link

Hi,

I was trying to implement an option to use nodes.rubric instead of nodes.title, but I didn't quite achieve it: j3mdamas@2b884ec

The objective was to suppress the "Positional Arguments" and "Named Arguments" from the sidebar, but maybe I am approaching this incorrectly. I was able to change them into a rubric entry, but they still appear in the sidebar. I would assume it has to do with the nodes.section being used, but this was my first time looking into docutils. Any clue? I think suppressing these from the sidebar can be useful.

João

@j3mdamas
Copy link
Author

I kind of made a work-around that works in a particular case, by using the :maxdepth: of .. toctree::, but can definitely not work in other cases

@j3mdamas
Copy link
Author

Any ideas? @ribozz

@mmagnus
Copy link

mmagnus commented Jul 13, 2019

I think similar issue #78

I'm getting such a mess :( I'm trying to find a way how to change it in the code, let's see where it gets me.

Screen Shot 2019-07-13 at 7 59 51 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants