-
Notifications
You must be signed in to change notification settings - Fork 910
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
Do we still need to remove conf.py
and index.rst
following build-docs
removal
#3376
Comments
This is a tricky one because Either:
Or:
|
I would suggest the less invasive option is to not provide the files. Can we update |
We would need sphinx already installed beforehand unfortunately. |
I think it's better to document that the user must call |
Two more ideas:
|
Do those ideas address the disconnect between readers that use the If they use the flags and follow our documentation in the tutorial section, they'll get in a mess I think. Maybe we have to simply remove that section of our documentation just to avoid this . |
About the
And about the docs, I think telling users to do While we figure out a better solution, I'm supportive of removing that section from the docs. There's nothing Kedro-specific there, just a whirlwind tour of Sphinx that we're in charge of maintaining. In addition, it was always weird to have those instructions in the "Package an entire Kedro project" page - So, let's remove it and open a ticket to rebuild it in a "good SWE practices" kind of guide at some point, which can start as a blog post. |
To summarise our offline discussion and amend my previous comment:
|
Addressed in #3331 |
Description
Following our work with the new docs tool it doesn't align with what #2304 has written out.
Our templates still keep the
conf.py
andindex.rst
do we plan to remove these still?As of now when we create a new project with the docs tool in order to get it working properly I have to
pip install ".[docs]"
which installssphinx
frompyproject.toml
. Next we go intodocs/source
and moveconf.py
andindex.rst
to a backup location.Then I can run
sphinx-quickstart docs
and replace the generated files with the backups and runmake html
to generate the docs in the project.This was mostly following the instructions on our current stable docs: https://docs.kedro.org/en/stable/tutorial/package_a_project.html#build-html-documentation
conf.py
andindex.rst
do we plan to remove these still?conf.py
andindex.rst
and replacing, maybe some code that automates this?)Cc: @stichbury @astrojuanlu @merelcht @AhdraMeraliQB
The text was updated successfully, but these errors were encountered: