-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from choldgraf/docs-update
Add demo documentation site and unpin book theme
- Loading branch information
Showing
19 changed files
with
1,620 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,6 +109,7 @@ venv/ | |
ENV/ | ||
env.bak/ | ||
venv.bak/ | ||
.nox | ||
|
||
# Spyder project settings | ||
.spyderproject | ||
|
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
project = "Pangeo Book Theme" | ||
html_title = "Pangeo Book Theme" | ||
html_theme = "pangeo_sphinx_book_theme" | ||
extensions = ["sphinx.ext.autodoc"] | ||
|
||
# Uncomment to test non-default logo | ||
# html_logo = "_static/pangeo-forge-logo-blue.png" |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Test documentation | ||
================== | ||
|
||
This is simple documentation to test the Pangeo Book Theme. | ||
All of the pages in this demo site are taken from the Kitchen Sink of `the Sphinx Themes gallery <https://github.com/sphinx-themes/sphinx-themes.org>`_. | ||
|
||
.. toctree:: | ||
:glob: | ||
|
||
kitchen-sink/* |
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 |
---|---|---|
@@ -0,0 +1,123 @@ | ||
.. | ||
Copyright (c) 2021 Pradyun Gedam | ||
Licensed under Creative Commons Attribution-ShareAlike 4.0 International License | ||
SPDX-License-Identifier: CC-BY-SA-4.0 | ||
=========== | ||
Admonitions | ||
=========== | ||
|
||
Sphinx provides several different types of admonitions. | ||
|
||
``topic`` | ||
========= | ||
|
||
.. topic:: This is a topic. | ||
|
||
This is what admonitions are a special case of, according to the docutils | ||
documentation. | ||
|
||
``admonition`` | ||
============== | ||
|
||
.. admonition:: The one with the custom titles | ||
|
||
It's got a certain charm to it. | ||
|
||
``attention`` | ||
============= | ||
|
||
.. attention:: | ||
|
||
Climate change is real. | ||
|
||
``caution`` | ||
=========== | ||
|
||
.. caution:: | ||
|
||
Cliff ahead: Don't drive off it. | ||
|
||
``danger`` | ||
========== | ||
|
||
.. danger:: | ||
|
||
Mad scientist at work! | ||
|
||
``error`` | ||
========= | ||
|
||
.. error:: | ||
|
||
Does not compute. | ||
|
||
``hint`` | ||
======== | ||
|
||
.. hint:: | ||
|
||
Insulators insulate, until they are subject to ______ voltage. | ||
|
||
``important`` | ||
============= | ||
|
||
.. important:: | ||
|
||
Tech is not neutral, nor is it apolitical. | ||
|
||
``note`` | ||
======== | ||
|
||
.. note:: | ||
|
||
This is a note. | ||
|
||
``seealso`` | ||
=========== | ||
|
||
.. seealso:: | ||
|
||
Other relevant information. | ||
|
||
``tip`` | ||
======= | ||
|
||
.. tip:: | ||
|
||
25% if the service is good. | ||
|
||
``todo`` | ||
======== | ||
|
||
.. todo:: | ||
|
||
This needs the ``sphinx.ext.todo`` extension. | ||
|
||
``warning`` | ||
=========== | ||
|
||
.. warning:: | ||
|
||
Reader discretion is strongly advised. | ||
|
||
``versionadded`` | ||
================ | ||
|
||
.. versionadded:: v0.1.1 | ||
|
||
Here's a version added message. | ||
|
||
``versionchanged`` | ||
================== | ||
|
||
.. versionchanged:: v0.1.1 | ||
|
||
Here's a version changed message. | ||
|
||
``deprecated`` | ||
============== | ||
|
||
.. deprecated:: v0.1.1 | ||
|
||
Here's a deprecation message. |
Oops, something went wrong.