-
Notifications
You must be signed in to change notification settings - Fork 126
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
Autogenerated toctree showing internal links of files #276
Comments
@pri22296 Can you have a look at this |
Looking at the markdown files for mydoc, i notice that the main headers are not rendered, due to error in the original markdown. I think the absence of a Also, in pslab-desktop-apps, the markdowns start with mdheaders instead of @pri22296 Can you verify if these are the sources of errors? |
I believe if the mdheaders like
are replaced by
The subheading will be nested properly. |
I don't see a mention of these headers anywhere. @pri22296 Did you find something? |
Currently the markdown_flavour option is only used by pandoc, not recommonmark. As most of the markdown files are processed using recommonmark which uses a CommonMark Parser. I don't think |
@jithinbp What do you say? |
The syntax used seems to be specific to Jekyll.
The entire markdown file can be viewed here https://raw.githubusercontent.com/fossasia/pslab-desktop-apps/development/docs/_apps/B_LEMON_CELL.md The variables declared in the header section can include details such as author-name, title, description, layout to be used, custom variable etc . The title and description are specially formatted as shown The use of variables also provides flexibility in autogenerating TOCtrees from specific directories. For example, the These variables are readable by the template files. For example, in some md files, I merely specify a variable called |
This is a
Current behaviour
Generating the docs for fossasia/pslab-desktop-apps, it was noticed that the toctree created in the autogenerated index.rst, alongwith the links to external files in the docpath, also shows internal links of the files unindented.
@jithinbp mentioned it here: fossasia/pslab-desktop#159 (comment)
The same thing was reproduced when i generated docs for imujjwal96/mydoc.
Generated docs: http://yaydoc.herokuapp.com/preview/[email protected]/affff33e-d640-405c-b262-56616d96016d_preview/
Screenshot
Detailed logs
The text was updated successfully, but these errors were encountered: