Closed mlincett closed 2 years ago
I understand the Makefile
is not used by Read the Docs, so the first point can be easily addressed.
I see that the dependencies for the docs building are specified in the pyproject.toml
. I think that the proper poetry
syntax can install flarestack
with the proper dependencies, but I cannot figure which is it (still new to poetry
).
Installing with:
poetry install --with docs
poetry add
does the trick. I am gonna update the README.md
with this.
Also thinking of removing docs/source/getting_started.rst
since it is currently unused.
docs/Makefile
docs/source/getting_started.rst
language = "en"
in docs/source/setup.py
So I have not used the Makefile at all. I use
sphinx-build -b html docs/source/ docs/build/html
So we could add this to the documentation and drop the Makefile.
sphinx-build -b html docs/source/ docs/build/html
Alright. I suggest we retire also the make.bat
then (I guess both were a byproduct of sphinx-init
).
A few issues and warnings are encountered when trying to build the documentation locally. I suggest we add to the README the instructions to do it, so we can better discriminate the issues from user (me in this case) mistakes.
Specification of
SOURCEDIR
Running
make
inside thedocs
directory fails with:Changing
SOURCEDIR = ./source
in theMakefile
solves the issue, but apparently this is not a problem for Read the Docs? What is the correct procedure for a local build?Dependencies
myst_nb
andsphinx_rtd_theme
should be included amongflarestack
requirements (although there is a deprecation warning forsphinx_rtd_theme
so maybe its replacement should be considered.Warnings
There are a bunch of other warnings but they do not seem blocking. We can take care of those gradually.