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

Docker Documentation Builds #133

Merged
merged 8 commits into from
Jan 28, 2022
Merged

Conversation

Spartee
Copy link
Contributor

@Spartee Spartee commented Jan 27, 2022

Description

This PR adds the ability to build the documentation inside a docker build so that users don't have to worry about the specific build steps. The build exports the docs folder into the current clone so that the user doesn't have to do it themselves. build with make docks. The manual documentation build is still available with make docs.

Also added is a way for us to have develop documentation. Each PR that is merged, a new workflow will build the documentation in docker and push it to the doc branch which is hosted on github pages. this will only occur if the PR is reviewed, accepted, and merged.

There is also a new make tutorials that builds the tutorials into a developer docker with the current clone of SmartSim. This will eventually have a prod docker build too whch downloads the pinned version of smartsim for the latest release.

minor things

  • fixed pip installed torch retrieval on ubuntu (@EricGustin this could be the tf error I was talking about)
  • updated the doc requirements versions (sphinx)
  • added docker composition levels
  • start of minor documentation updates for 0.4.0

@Spartee Spartee added area: docs Issues related to documentation area: CI/CD Issues related to continuous integration and deployment type: chore Issue outside of general development labels Jan 27, 2022
Copy link
Collaborator

@al-rigazzi al-rigazzi left a comment

Choose a reason for hiding this comment

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

This PR looks very good and it is a great step towards a better process.

I have just found a couple of typos, noticed a couple of things that might be improved, and left a comment about CMake installation in containers. Maybe let's just decide on what we are going to do for the latter and then it can be merged.

doc/conf.py Outdated Show resolved Hide resolved
doc/index.rst Outdated Show resolved Hide resolved
doc/requirements-doc.txt Outdated Show resolved Hide resolved
docker/dev/Dockerfile Show resolved Hide resolved
docker/docs/dev/Dockerfile Show resolved Hide resolved
smartsim/_core/_install/buildenv.py Outdated Show resolved Hide resolved
Sam Partee and others added 8 commits January 28, 2022 11:26
This new GH action should consistently
update the documentation with the latest
code on develop.
tutorials dockerfile added to the composition.
Currently uses develop, but a prod dockerfile
will eventually be added as well
Copy link
Collaborator

@al-rigazzi al-rigazzi left a comment

Choose a reason for hiding this comment

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

OK, thanks for clarifying.

LGTM

@Spartee Spartee merged commit 1c80198 into CrayLabs:develop Jan 28, 2022
EricGustin added a commit to EricGustin/SmartSim that referenced this pull request Jan 28, 2022
EricGustin added a commit to EricGustin/SmartSim that referenced this pull request Jan 28, 2022
al-rigazzi pushed a commit to al-rigazzi/SmartSim that referenced this pull request Jan 31, 2022
This PR adds the ability to build the documentation
inside a docker build so that users don't have to worry
about the specific build steps. The build exports the
docs folder into the current clone so that the dev
 doesn't have to do it themselves. build with
``make docks``. The manual documentation
build is still available with make docs.

There is also a new make tutorials that builds
the tutorials into a developer docker with the
current clone of SmartSim. This will eventually
have a prod docker build too whch downloads the
pinned version of smartsim for the latest release.

[ committed by @Spartee ]
[ reviewed by @al-rigazzi ]
al-rigazzi pushed a commit to al-rigazzi/SmartSim that referenced this pull request Jan 31, 2022
This PR adds the ability to build the documentation
inside a docker build so that users don't have to worry
about the specific build steps. The build exports the
docs folder into the current clone so that the dev
 doesn't have to do it themselves. build with
``make docks``. The manual documentation
build is still available with make docs.

There is also a new make tutorials that builds
the tutorials into a developer docker with the
current clone of SmartSim. This will eventually
have a prod docker build too whch downloads the
pinned version of smartsim for the latest release.

[ committed by @Spartee ]
[ reviewed by @al-rigazzi ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: CI/CD Issues related to continuous integration and deployment area: docs Issues related to documentation type: chore Issue outside of general development
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants