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

doc: add Sphinx site and publish it through GitHub Pages #138

Merged
merged 10 commits into from
Nov 28, 2021

Conversation

umarcor
Copy link
Contributor

@umarcor umarcor commented Nov 28, 2021

As proposed in #102 (comment), this PR converts documentation sources from markdown to restructuredtext, and the configuration files for an Sphinx site are added. A job in the CI workflow builds the site and pushes it to branch gh-pages, so that it is served at trabucayre.github.io/openFPGALoader. That works for forks as well. See, for instance, umarcor.github.io/openFPGALoader.

The main reason for using Sphinx, apart from interpshinx, is being able to enhance the documentation with timing diagrams through wavedrom. See https://wishbone-interconnect.readthedocs.io/en/latest/03_classic.html#reset-operation.

</p>

Universal utility for programming FPGAs. Compatible with many boards, cables and FPGA from major manufacturers (Xilinx, Altera/Intel, Lattice, Gowin, Efinix, Anlogic). openFPGALoader works on [Linux](INSTALL.md#linux), [Windows](INSTALL.md#windows) and [macOS](INSTALL.md#macos).
Universal utility for programming FPGAs. Compatible with many boards, cables and FPGA from major manufacturers (Xilinx, Altera/Intel, Lattice, Gowin, Efinix, Anlogic). openFPGALoader works on Linux, Windows and macOS.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe not really important, but why not keeping links?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found it redundant given there is a visible sidebar in trabucayre.github.io/openFPGALoader/guide/install:

image

Nevertheless, I can bring them back if you want.

@trabucayre
Copy link
Owner

Awesome!
LGTM!

@trabucayre trabucayre merged commit 048ddec into trabucayre:master Nov 28, 2021
@trabucayre
Copy link
Owner

Applied
Thanks!

@umarcor
Copy link
Contributor Author

umarcor commented Nov 28, 2021

@trabucayre note that you can edit the fields in the sidebar of the root of the repo, in order to show the URL there:

image

See, for instance, https://github.com/edaa-org/pyEDAA.ProjectModel.

@umarcor umarcor deleted the doc-sphinx branch November 28, 2021 19:13
@trabucayre
Copy link
Owner

Sidebard updated ! Thanks
For links in README: it's true for github.io it's redundant, it's for the github repo's main-page where this info may be more interesting. But since there is link to the install instructions page and github.io url so it's maybe no more required.
Thanks again for your work!

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.

2 participants