Ask Your Question

Revision history [back]

I got it. It was indeed on the forum. One has to launch make html inside a sage bash shell.

Mini tutorial :

  • go in the directory in which you want the documentation to appear
  • launch sphinx-quickstart and answer the questions.
  • get into the directory in which you created index.rst
  • launch sage -sh and then make html in the new shell.

That'it. Hope it will help the next one.

I got it. It was indeed on the forum. One has to launch make html inside a sage bash shell.

Mini tutorial :

  • go in the directory in which you want the documentation to appear
  • launch sphinx-quickstart and answer the questions.questions. The key question on which you have to answer "yes" is

autodoc: automatically insert docstrings from modules (y/N) [n]:

  • get into the directory in which you created index.rst
  • launch sage -sh and then make html in the new shell.

That'it. Hope it will help the next one.

I got it. It was indeed on the forum. One has to launch make html inside a sage bash shell.

Mini tutorial :

  • go in the directory in which you want the documentation to appear
  • launch sphinx-quickstart and answer the questions. The key question on which you have to answer "yes" is

autodoc: automatically insert docstrings from modules (y/N) [n]:

  • get into the directory in which you it created index.rst
  • launch sage -sh and then make html in the new shell.

That'it. Hope it will help the next one.