sphinx-doc / sphinx-autobuild

Watch a Sphinx directory and rebuild the documentation when a change is detected. Also includes a hot-reload web server.
MIT License
523 stars 75 forks source link

Option to launch the server at a specific file #101

Closed Martiix closed 3 years ago

Martiix commented 3 years ago

A quick suggestion for the issue I posted earlier:

https://github.com/executablebooks/sphinx-autobuild/issues/100

Got an error while trying to run the nox -s tests command, so couldn't test this:

nox > Error while collecting sessions.
nox > Sessions not found: tests

lints passed successfully. Tested the update using: nox -s docs-live "--" --launch index.html and by moving the index to a subfolder, then running: nox -s docs-live "--" --launch subdir/index.html -D master_doc=subdir/index the link directly connected to index.html as expected.

welcome[bot] commented 3 years ago

Thanks for submitting your first pull request! You are awesome! :hugs:
If you haven't done so already, check out EBP's Code of Conduct and our Contributing Guide, as this will greatly help the review process.
Welcome to the EBP community! :tada:

Martiix commented 3 years ago

Does anyone have time to review this?