forked from uibcdf/OPocket
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
237 additions
and
19 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 |
---|---|---|
|
@@ -14,3 +14,5 @@ dependencies: | |
- sphinx_rtd_theme | ||
- sphinxcontrib-bibtex | ||
- myst-nb | ||
- sphinx-copybutton | ||
- sphinx-remove-toctrees |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Minimal makefile for Sphinx documentation | ||
# | ||
|
||
export SPHINXWORKING=True | ||
|
||
# You can set these variables from the command line. | ||
SPHINXOPTS = -j auto | ||
SPHINXBUILD = sphinx-build | ||
SPHINXPROJ = openpocket | ||
SOURCEDIR = . | ||
BUILDDIR = _build | ||
|
||
# Put it first so that "make" without argument is like "make help". | ||
help: | ||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
||
.PHONY: help Makefile | ||
|
||
# Catch-all target: route all unknown targets to Sphinx using the new | ||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
%: Makefile | ||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
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,16 @@ | ||
# Static Doc Directory | ||
|
||
Add any paths that contain custom static files (such as style sheets) here, | ||
relative to the `conf.py` file's directory. | ||
They are copied after the builtin static files, | ||
so a file named "default.css" will overwrite the builtin "default.css". | ||
|
||
The path to this folder is set in the Sphinx `conf.py` file in the line: | ||
```python | ||
templates_path = ['_static'] | ||
``` | ||
|
||
## Examples of file to add to this directory | ||
* Custom Cascading Style Sheets | ||
* Custom JavaScript code | ||
* Static logo images |
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 @@ | ||
.wy-nav-content { | ||
max-width: 100% !important; | ||
} | ||
|
||
/* To change the left bar of executable cells in markdown and executable cells in jupyter notebooks */ | ||
/* See https://github.com/executablebooks/meta/discussions/667 */ | ||
div.cell div.cell_input { | ||
border-left-color: #C9C9C9; | ||
} | ||
|
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,14 @@ | ||
# Templates Doc Directory | ||
|
||
Add any paths that contain templates here, relative to | ||
the `conf.py` file's directory. | ||
They are copied after the builtin template files, | ||
so a file named "page.html" will overwrite the builtin "page.html". | ||
|
||
The path to this folder is set in the Sphinx `conf.py` file in the line: | ||
```python | ||
html_static_path = ['_templates'] | ||
``` | ||
|
||
## Examples of file to add to this directory | ||
* HTML extensions of stock pages like `page.html` or `layout.html` |
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,8 @@ | ||
{% extends '!layout.html' %} | ||
{% block document %} | ||
{{super()}} | ||
<a href="https://github.com/uibcdf/openpocket"> | ||
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"> | ||
</a> | ||
{% endblock %} | ||
|
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,8 @@ | ||
Developers | ||
========== | ||
|
||
.. toctree:: | ||
:name: developers | ||
:caption: Developers | ||
:maxdepth: 2 | ||
|
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,8 @@ | ||
Users | ||
===== | ||
|
||
.. toctree:: | ||
:name: users | ||
:caption: Users | ||
:maxdepth: 2 | ||
|
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Citation | ||
|
||
To be written soon... |
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,3 @@ | ||
# Installation | ||
|
||
To be written soon... |
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,3 @@ | ||
# Showcase | ||
|
||
To be written soon... |
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,3 @@ | ||
# What | ||
|
||
To be written soon... |
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 @@ | ||
# Introduction |
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 @@ | ||
# Introduction |
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 @@ | ||
# Tools |
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,118 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "markdown", | ||
"id": "6c9de210-0ac6-4ee9-9dad-7cfe0b988806", | ||
"metadata": {}, | ||
"source": [ | ||
"# OpenPocket\n", | ||
"\n", | ||
"```{image} https://anaconda.org/uibcdf/openpocket/badges/license.svg\n", | ||
":target: https://github.com/uibcdf/OpenPocket/blob/master/License\n", | ||
"```\n", | ||
"\n", | ||
"OpenPocket makes the characterization of molecular surfaces easy.\n", | ||
"\n", | ||
"## Install it\n", | ||
"\n", | ||
"```bash\n", | ||
"conda install -c uibcdf openpocket\n", | ||
"```" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"id": "8892c794-5ead-4dff-8035-22123b57761f", | ||
"metadata": {}, | ||
"source": [ | ||
"## Use it" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"id": "0219ddce-3929-4ed8-bec1-46390da25f93", | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"import openpocket as opoc" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"id": "73eaeea9-8117-4d12-a436-36736567322b", | ||
"metadata": {}, | ||
"source": [ | ||
"## Citation\n", | ||
"\n", | ||
"Coming soon..." | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"id": "96727aaf-6fb1-4929-9dc5-d51fc8ff3cd0", | ||
"metadata": {}, | ||
"source": [ | ||
"```{eval-rst}\n", | ||
".. toctree::\n", | ||
" :name: about\n", | ||
" :caption: About\n", | ||
" :maxdepth: 2\n", | ||
" :hidden:\n", | ||
"\n", | ||
" contents/about/what.md\n", | ||
" contents/about/installation.md\n", | ||
" contents/about/showcase/index.md\n", | ||
" contents/about/citation.md\n", | ||
"\n", | ||
".. toctree::\n", | ||
" :name: user_guide\n", | ||
" :caption: User Guide\n", | ||
" :maxdepth: 2\n", | ||
" :hidden:\n", | ||
"\n", | ||
" contents/user/intro/index.md\n", | ||
" contents/user/tools/index.md\n", | ||
"\n", | ||
".. toctree::\n", | ||
" :name: developer_guide\n", | ||
" :caption: Developer Guide\n", | ||
" :maxdepth: 2\n", | ||
" :hidden:\n", | ||
"\n", | ||
" contents/developer/intro/index.md\n", | ||
" \n", | ||
".. toctree::\n", | ||
" :name: api_doc\n", | ||
" :caption: API Documentation\n", | ||
" :maxdepth: 2\n", | ||
" :hidden:\n", | ||
"\n", | ||
" api/users/api_users.rst\n", | ||
" api/developers/api_developers.rst\n", | ||
"```" | ||
] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "Python 3 (ipykernel)", | ||
"language": "python", | ||
"name": "python3" | ||
}, | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 3 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.9.13" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 5 | ||
} |
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