Closed junpeiz closed 2 months ago
Thank you so much for this @junpeiz ! Would you be willing to describe the exact steps you took to get these files to generate? I was running into some issues
Thank you so much for this @junpeiz ! Would you be willing to describe the exact steps you took to get these files to generate? I was running into some issues
@cpompeo Sure! Here are the steps:
pip install -U <LIB_NAME>
, and update other libs accordingly when you see the pip complains about dependency version incompatibility. Based on my experience, I need to update sphinx
, sphinx-rtd-theme
, docutils
, readme-renderer
.main
branch, run make html
in docs-guides
folder, and copy the result _build/html
folder to a temporary location (I used ~/Download/html
)gh-pages
branch and create a new branch based on it (I used gh-pages-8.0-release
here).docs-guides
directory by cp -r ~/Downloads/html/* ./docs-guides/
.gh-pages-8.0-release
here) so you can preview those pages.Preview: https://junpeiz.github.io/coremltools/docs-guides/index.html
This PR only changes the
docs-guides
.Notice that it was generated useing the latest Sphinx and theme lib, which results in a lot of file changes. The generated content style is almost the same as the current
docs-guides
, but with some tiny improvements. Some small examples I observed:
- the search box is on the left side.
- the
Contents
now has a space with the icon:
- After expanding the list, now the arrow will change the direction which means "collapse":
- Tables have light and deep background colors in-turn, which visually help to distinguish rows in the table:
- There is slightly more space between the image and its caption, which makes it less crowded:
Should we update the sphinx / theme versions in doc requirements so that future generations of the doc doesn't regress?
Should we update the sphinx / theme versions in doc requirements so that future generations of the doc doesn't regress?
Agree. Will create a PR for it.
Preview: https://junpeiz.github.io/coremltools/docs-guides/index.html
This PR only changes the
docs-guides
.Notice that it was generated useing the latest Sphinx and theme lib, which results in a lot of file changes. The generated content style is almost the same as the current
docs-guides
, but with some tiny improvements. Some small examples I observed:the search box is on the left side.
the
Contents
now has a space with the icon:After expanding the list, now the arrow will change the direction which means "collapse":
Tables have light and deep background colors in-turn, which visually help to distinguish rows in the table:
There is slightly more space between the image and its caption, which makes it less crowded: