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

Sphinx autodoc on github pages #85

Closed
lneuhaus opened this issue Nov 30, 2016 · 8 comments
Closed

Sphinx autodoc on github pages #85

lneuhaus opened this issue Nov 30, 2016 · 8 comments

Comments

@lneuhaus
Copy link
Owner

We should implement this in order to view the autodoc online, preferentially by having travis perform a build of the autodoc at each commit:
https://daler.github.io/sphinxdoc-test/includeme.html

@lneuhaus
Copy link
Owner Author

The good commands for building autodoc are described here:
http://gisellezeno.com/tutorials/sphinx-for-python-documentation.html

@lneuhaus
Copy link
Owner Author

lneuhaus commented Nov 30, 2016

These commands are:

cd doc/sphinx
sphinx-apidoc -f -o source/ ../../pyrpl/
make html

@SamuelDeleglise
Copy link
Collaborator

I think the make.bat and makefile are missing in the repository...

@lneuhaus
Copy link
Owner Author

08eb8ea
That is because you deleted it in a strange commit that was never discussed (see above). Could you comment on that commit (and the subsequent one) and undo the undesired stuff in it? To me, it never made sense but i didnt have time at the end of november to go through it with you

@lneuhaus
Copy link
Owner Author

1072a37

Sry, this is the commit i was talking about

@SamuelDeleglise
Copy link
Collaborator

SamuelDeleglise commented Feb 24, 2017

Indeed, it looks like I suppressed too many things: the idea was

  • move fpga folder towards hardware_modules --> We have discussed that afterwards and finally it was decided to put it back into pyrpl/ because it was central to the program and you wanted the FPGA code to be easily accessible
  • I moved also some files that were at the /pyrpl root because they were now belonging to specific modules such as
    iir.py --> hardware_modules/iir/iir.py
    model.py -->software_modules/lockbox/model.py
  • I deleted bodefit.py that was obsolete

And I guess I forgot to add the newly created folders to git before committing, that's why the displaced files reappear only in the next commit "added the folders"

Regarding the deletion of the "doc" folder, I must say this is intriguing, my best guess is that I tried to rebuild the doc from scratch, didn't succeed and I somehow ended up accidentally committing without the doc folder. Looking at the commit, we are in particular still missing all the files that were sitting at the root of /doc and that are not reconstructed by sphynx (sorry):

  • tutorial.ipnb !!!!!
  • sphinx/make.bat
  • sphinx/Makefile
  • custom_gui.png
  • design of iir gui .... .png
  • design of iir_gui.png
  • design_of_iir_gui_better.png
  • design_with_iir_gui.png
  • gui.bmp
  • High speed ...random generator.pdf
  • IQmodule.png
  • Redpitaya_HDL_memory_map....odt

They should definitely be reintegrated in the repo.

@SamuelDeleglise
Copy link
Collaborator

To make sure we are not doing the job twice, I am reintegrating them right now...

@lneuhaus
Copy link
Owner Author

moved info to wiki page "AutoDoc". Files above seem restored now

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

No branches or pull requests

2 participants