Skip to content
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

Add ci command for building documentation #566

Merged
merged 3 commits into from
Mar 10, 2021
Merged

Conversation

aaronayres35
Copy link
Contributor

this PR simply pulls the docs ci command from other ets projects into chaco.

Copy link
Contributor

@rahulporuri rahulporuri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. This is a good place to start. There a few issues, only one of which needs to be addressed in this PR

  • it looks like the api docs are autogenerated but they aren't ignored in .gitignore so git sees a lot of changed/new files. <- This is the only thing that needs to be fixed in this PR.
  • we're building api docs but we're not linking to them in the built docs.
  • we are installing enthought_sphinx_theme but we aren't using it for the docs.
  • the version information seems to be hardcoded in the sphinx conf which is why i see docs for chaco 4.8.

ci/edmtool.py Outdated
Comment on lines 304 to 307
api_path = os.path.join("docs", "source", "api")
if os.path.exists(api_path):
rmtree(api_path)
os.makedirs(api_path)
Copy link
Contributor

@rahulporuri rahulporuri Mar 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is borrowed from traitsui or pyface. Can you borrow the code from traits or traits-futures instead? It will be nice if we can borrow the sphinx api templates.

Edit : This can be done in a separate PR.

@aaronayres35 aaronayres35 merged commit ad3c77e into master Mar 10, 2021
@rahulporuri rahulporuri deleted the add-docs-ci-command branch March 23, 2021 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants