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

Rst docs conversion #3496

Merged
merged 51 commits into from Nov 15, 2022
Merged

Rst docs conversion #3496

merged 51 commits into from Nov 15, 2022

Conversation

KrystalDelusion
Copy link
Member

Converting the Yosys Manual to use RST instead of pure LaTeX

mmicko and others added 11 commits September 29, 2022 22:22
Also use :glob: to find all cmd_*.rst instead of listing all of them.
Tries to separate the help output into more usable segments.  Options are formatted into rst definition lists with code blocks for the definition.
No more printing to the command index file.
Also moves the appendix ToC into the main index.
Includes .bib files for references.
@KrystalDelusion
Copy link
Member Author

Rebased onto master, removed unnecessary commits.

@KrystalDelusion KrystalDelusion marked this pull request as ready for review October 24, 2022 15:11
KrystalDelusion added 25 commits October 31, 2022 15:12
Replaces make manual.
Table 7.1 not breaking automatically.
CellLib missed some of the tex source, particularly the \B{} function.
Uses a container to allow custom css for tighter formatting.  Container replaces ..only:: html.
More usage of yoscrypt instead of generic code.
Updated/expanded lexer to support wider cases (also some fixes).
Can't figure out a way to have footcite work without breaking the latex build :(
Avoid breaking the old website for now
Change to rst files to use preferred image type depending on build type.
pngs still exist as fallback, but html uses svg and latexpdf uses pdf.
Figures with a single include have been updated.
Complicated figures are still pending.
Still at least partially placeholder.
New 011/*.tex files for combining multiple images into one for captioning.
Adjusted Makefile to match.

Removed command to mkdir 011 since it now has files included in git.
Removed unnecessary missing_image.jpg.
Replaced citations with direct links.
Also drops appendix to maxdepth 2 for consistency.
Still can't figure out a way to get the command reference to list commands in the sidebar only when the user is already in the command reference.
Options are: List them always, or list them never.
:(
Should avoid the rst docs re-committing the pdfs when they haven't changed.
Can't figure out how to make it work for the pdfs in 011.
For posterity if not functionality.
Setting width in the rst is broken and always assigns it a value of 0, so instead we define a class and just set the class to use 100% width in css.
@mmicko mmicko merged commit a14dec7 into YosysHQ:master Nov 15, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants