Skip to content

Commit

Permalink
moving things around
Browse files Browse the repository at this point in the history
  • Loading branch information
dfm committed Nov 21, 2023
1 parent 5969116 commit b06774a
Show file tree
Hide file tree
Showing 15 changed files with 35 additions and 54 deletions.
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ TUTORIALS = tutorials/hyper.rst tutorials/model.rst tutorials/new-kernel.rst \
tutorials/first.rst tutorials/scaling.rst tutorials/mixture.rst \
tutorials/bayesopt.rst

tutorials/%.rst: _static/notebooks/%.ipynb tutorials/tutorial_rst.tpl
tutorials/%.rst: _static/notebooks/%.ipynb
jupyter nbconvert --template tutorials/tutorial_rst --to rst $< --output-dir tutorials

.PHONY: clean
Expand Down
5 changes: 3 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
master_doc = "index"

# General information about the project.
project = u"George"
copyright = u"2012-2021 Dan Foreman-Mackey"
project = "george"
copyright = "2012-2023 Dan Foreman-Mackey"

version = george.__version__
release = george.__version__
Expand All @@ -55,6 +55,7 @@

# Readthedocs.
html_theme = "pydata_sphinx_theme"
html_title = "george"
htmp_theme_options = dict(
analytics_id="analytics_id",
)
Expand Down
25 changes: 4 additions & 21 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,26 +30,9 @@ George is being actively developed in `a public repository on GitHub

.. toctree::
:maxdepth: 2
:caption: User Guide

user/quickstart
user/kernels
user/gp
user/solvers
user/modeling


.. toctree::
:maxdepth: 1
:caption: Tutorials

tutorials/first
tutorials/model
tutorials/hyper
tutorials/scaling
tutorials/new-kernel
tutorials/mixture
tutorials/bayesopt
user/index
tutorials/index


Contributors
Expand All @@ -61,9 +44,9 @@ Contributors
License & Attribution
---------------------

Copyright 2012-2022 Daniel Foreman-Mackey and contributors.
Copyright 2012-2023 Daniel Foreman-Mackey and contributors.

George is being developed by `Dan Foreman-Mackey <http://dan.iel.fm>`_ in a
George is being developed by `Dan Foreman-Mackey <https://dfm.io>`_ in a
`public GitHub repository <https://github.com/dfm/george>`_.
The source code is made available under the terms of the MIT license.

Expand Down
3 changes: 0 additions & 3 deletions docs/tutorials/bayesopt.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@

.. module:: george

.. note:: This tutorial was generated from an IPython notebook that can be
downloaded `here <../../_static/notebooks/bayesopt.ipynb>`_.

Expand Down
3 changes: 0 additions & 3 deletions docs/tutorials/first.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@

.. module:: george

.. note:: This tutorial was generated from an IPython notebook that can be
downloaded `here <../../_static/notebooks/first.ipynb>`_.

Expand Down
3 changes: 0 additions & 3 deletions docs/tutorials/hyper.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@

.. module:: george

.. note:: This tutorial was generated from an IPython notebook that can be
downloaded `here <../../_static/notebooks/hyper.ipynb>`_.

Expand Down
14 changes: 14 additions & 0 deletions docs/tutorials/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Tutorials
=========

.. toctree::
:maxdepth: 2

first
model
hyper
scaling
new-kernel
mixture
bayesopt

3 changes: 0 additions & 3 deletions docs/tutorials/mixture.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@

.. module:: george

.. note:: This tutorial was generated from an IPython notebook that can be
downloaded `here <../../_static/notebooks/mixture.ipynb>`_.

Expand Down
3 changes: 0 additions & 3 deletions docs/tutorials/model.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@

.. module:: george

.. note:: This tutorial was generated from an IPython notebook that can be
downloaded `here <../../_static/notebooks/model.ipynb>`_.

Expand Down
3 changes: 0 additions & 3 deletions docs/tutorials/new-kernel.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@

.. module:: george

.. note:: This tutorial was generated from an IPython notebook that can be
downloaded `here <../../_static/notebooks/new-kernel.ipynb>`_.

Expand Down
3 changes: 0 additions & 3 deletions docs/tutorials/scaling.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@

.. module:: george

.. note:: This tutorial was generated from an IPython notebook that can be
downloaded `here <../../_static/notebooks/scaling.ipynb>`_.

Expand Down
2 changes: 0 additions & 2 deletions docs/tutorials/tutorial_rst.tpl
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{%- extends 'display_priority.tpl' -%}

{% block header %}
.. module:: george

.. note:: This tutorial was generated from an IPython notebook that can be
downloaded `here <../../_static/notebooks/{{ resources.metadata.name }}.ipynb>`_.

Expand Down
12 changes: 12 additions & 0 deletions docs/user/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
User Guide
==========

.. toctree::
:maxdepth: 2

quickstart
kernels
gp
solvers
modeling

2 changes: 1 addition & 1 deletion docs/user/kernels.rst.template
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ This makes the code fast and consistent across interfaces but it also means
that it isn't currently possible to implement new kernel functions without
recompiling the code.
Almost every kernel has hyperparameters that you can set to control its
behavior and these are controlled using the :ref:`modeling`.
behavior and these are controlled using the :ref:`modeling-protocol`.

.. code-block:: python

Expand Down
6 changes: 0 additions & 6 deletions docs/user/upgrade.rst

This file was deleted.

0 comments on commit b06774a

Please sign in to comment.