Skip to content

Add ci command for building documentation#566

Merged
aaronayres35 merged 3 commits into
masterfrom
add-docs-ci-command
Mar 10, 2021
Merged

Add ci command for building documentation#566
aaronayres35 merged 3 commits into
masterfrom
add-docs-ci-command

Conversation

@aaronayres35
Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
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.

Comment thread 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
Copy Markdown
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