-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build api docs in dockerfile after building site
- Loading branch information
1 parent
a4c6fd5
commit 24fb7f3
Showing
3 changed files
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,23 @@ | ||
FROM ghcr.io/cyclus/cymetric_22.04_conda/cymetric:latest | ||
FROM ghcr.io/cyclus/cymetric_22.04_conda/cymetric:latest AS base-image | ||
ARG BUILDDIR=gh-preview | ||
|
||
RUN mamba install -y sphinx sphinxcontrib-bibtex cloud_sptheme | ||
|
||
COPY . /cyclus.github.com | ||
WORKDIR /cyclus.github.com | ||
RUN make gh-preview | ||
|
||
WORKDIR /cyclus/build | ||
RUN make cyclusdoc && \ | ||
mkdir -p /cyclus.github.com/${BUILDDIR}/cyclus/api && \ | ||
cp -r doc/html/* /cyclus.github.com/${BUILDDIR}/cyclus/api/ | ||
|
||
WORKDIR /cycamore/build | ||
RUN make cycamoredoc && \ | ||
mkdir -p /cyclus.github.com/${BUILDDIR}/cycamore/api && \ | ||
cp -r doc/html/* /cyclus.github.com/${BUILDDIR}/cycamore/api/ | ||
|
||
|
||
FROM scratch | ||
ARG BUILDDIR=gh-preview | ||
COPY --from=base-image /cyclus.github.com/${BUILDDIR} /${BUILDDIR} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,8 +8,8 @@ <h3>{{ _('Useful Pages') }}</h3> | |
<li><a href="/arche/index.html">Archetype Developer Guide</a></li> | ||
<li><a href="/arche/tutorial_cpp/index.html">Archetype Developer C++ Tutorial</a></li> | ||
<li><a href="/arche/tutorial_py/index.html">Archetype Developer Python Tutorial</a></li> | ||
<li><a href="http://fuelcycle.org/cyclus/api/">Cyclus API Documentation</a></li> | ||
<li><a href="http://fuelcycle.org/cycamore/api/">Cycamore API Documentation</a></li> | ||
<li><a href="/cyclus/api/">Cyclus API Documentation</a></li> | ||
<li><a href="/cycamore/api/">Cycamore API Documentation</a></li> | ||
<li><a href="/basics/glossary.html">Glossary</a></li> | ||
<li><a href="mailto:[email protected]?subject=Subscribe&body=Send this message to subscribe to the list">Join</a> the | ||
<a href="https://groups.google.com/forum/#!forum/cyclus-users" target="_blank"><span style="font-variant:small-caps">Cyclus</span> Users</a> mailing list. | ||
|