Please help me setup documentation

101 views
Skip to first unread message

Shishir Kushwaha

unread,
Jan 31, 2024, 3:43:53 AM1/31/24
to sympy
I was trying to build documentation using docker and on running the commands mentioned in the documentation , I was getting this error .

/usr/local/bin/makehtml.sh: line 7: cd: /sympy/doc: No such file or directory
make: *** No rule to make target 'html'.  Stop.

Aaron Meurer

unread,
Jan 31, 2024, 2:23:11 PM1/31/24
to sy...@googlegroups.com
How are you running the docker container? You need to run

docker run --rm -v /absolute/path/to/SYMPY_ROOT:/sympy sympy_htmldoc

where you replace /absolute/path/to/SYMPY_ROOT with the path to your
sympy git clone directory.

Or alternatively, you can just install the docs dependencies directly
to your local environment and build without using docker.

Aaron Meurer
> --
> You received this message because you are subscribed to the Google Groups "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/1a978660-0dd2-49d8-8478-185ad7175ed3n%40googlegroups.com.

Shishir Kushwaha

unread,
Feb 1, 2024, 3:15:33 PM2/1/24
to sympy
Yes that's what I did , I followed the steps mentioned in the documentation and got this error . 
However trying to build the docs with sphinx with a seperate command was successfull , I'm trying to figure out what to do next .

Aaron Meurer

unread,
Feb 1, 2024, 4:24:00 PM2/1/24
to sy...@googlegroups.com
I'm not sure what's going on then. I just tested the docker container
and it works for me. You may need to delete the container and rebuild
it.

Aaron Meurer
> To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/b4fd809f-fb9b-4213-8815-ea5a341dd906n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages