diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8ffb54a9..596b03d2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -38,8 +38,8 @@ jobs: - name: Build the book run: | - mkdir -p ./jupyter_cache - jupyter-book build -nv --keep-going book + mkdir -p ./jupyter_cache + jupyter book build --html - name: Publish to GitHub Pages uses: JamesIves/github-pages-deploy-action@v4 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b3ea60a4..93a9bc40 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,5 +33,5 @@ jobs: run: | mkdir -p ./jupyter_cache ls ./jupyter_cache - jupyter-book build -n --keep-going book + jupyter book build --html ls ./jupyter_cache diff --git a/book/_config.yml b/book/._config.yml.bak similarity index 100% rename from book/_config.yml rename to book/._config.yml.bak diff --git a/book/_toc.yml b/book/._toc.yml.bak similarity index 100% rename from book/_toc.yml rename to book/._toc.yml.bak diff --git a/book/myst.yml b/book/myst.yml new file mode 100644 index 00000000..84f69bab --- /dev/null +++ b/book/myst.yml @@ -0,0 +1,41 @@ +version: 1 +project: + title: The Sampling Book Project + authors: + - name: The Blackjax Team + exclude: + - README.md + github: blackjax-devs/sampling-book + bibliography: + - references.bib + exports: + - format: pdf + template: plain_latex_book + output: exports/book.pdf + toc: + - file: index.md + - title: Algorithms + children: + - file: algorithms/contour_sgld.md + - file: algorithms/cyclical_sgld.md + - file: algorithms/pathfinder.md + - file: algorithms/PeriodicOrbitalMCMC.md + - file: algorithms/TemperedSMC.md + - file: algorithms/TemperedSMCWithOptimizedInnerKernel.md + - file: algorithms/mclmc.md + - title: Models + children: + - file: models/change_of_variable_hmc.md + - file: models/GP_EllipticalSliceSampler.md + - file: models/GP_Marginal.md + - file: models/sparse_regression.md + - file: models/logistic_regression.md + - file: models/LogisticRegressionWithLatentGaussianSampler.md + - file: models/mlp.md + - file: models/hierarchical_bnn.md + - file: models/RegimeSwitchingModel.md + - file: models/probabilistic_ode_solver_parameter_estimation.md +site: + options: + folders: true + template: book-theme diff --git a/myst.yml b/myst.yml new file mode 100644 index 00000000..c245bcb7 --- /dev/null +++ b/myst.yml @@ -0,0 +1,15 @@ +# See docs at: https://mystmd.org/guide/frontmatter +version: 1 +project: + id: 89d92e9e-c1de-4cb7-bc33-e9649a9ed259 + # title: + # description: + # keywords: [] + # authors: [] + github: https://github.com/blackjax-devs/sampling-book + # To autogenerate a Table of Contents, run "jupyter book init --write-toc" +site: + template: book-theme + # options: + # favicon: favicon.ico + # logo: site_logo.png