Skip to content

Commit

Permalink
docs: relocate source files from docs to docs/source
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Nov 4, 2022
1 parent 0bae110 commit 693c961
Show file tree
Hide file tree
Showing 18 changed files with 14 additions and 17 deletions.
6 changes: 3 additions & 3 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
#
version: 2

sphinx:
configuration: docs/source/conf.py

build:
os: ubuntu-22.04
tools:
Expand All @@ -12,6 +15,3 @@ build:
python:
install:
- requirements: docs/requirements.txt

sphinx:
configuration: docs/conf.py
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The primary use cases are:
JupyterLab extensions) to access web APIs of other processes running
locally in a safe manner. This is used by the [JupyterLab
extension](https://github.com/dask/dask-labextension) for
[dask](https://dask.org/).
[dask](https://www.dask.org/).

[The documentation](https://jupyter-server-proxy.readthedocs.io/)
contains information on installation & usage.
Expand Down
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# You can set these variables from the command line.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
SOURCEDIR = source
BUILDDIR = _build

# Put it first so that "make" without argument is like "make help".
Expand Down
1 change: 0 additions & 1 deletion docs/convenience/packages/theia.rst

This file was deleted.

2 changes: 1 addition & 1 deletion docs/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=.
set SOURCEDIR=source
set BUILDDIR=_build

if "%1" == "" goto help
Expand Down
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
11 changes: 4 additions & 7 deletions docs/conf.py → docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,15 @@
# -- Options for HTML output -------------------------------------------------
# ref: http://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

# FIXME: change to pydata_sphinx_theme
# FIXME: change to sphinx_book_theme or pydata_sphinx_theme
#
# Alabaster theme options: https://alabaster.readthedocs.io/en/latest/customization.html#theme-options
html_theme = "alabaster"
html_theme_options = {
"github_url": "https://github.com/jupyterhub/jupyter-server-proxy/",
"use_edit_page_button": True,
}
html_context = {
"github_user": "jupyterhub",
"github_repo": "jupyter-server-proxy",
"github_version": "main",
"doc_path": "docs",
}
html_context = {}

html_favicon = "_static/images/logo/favicon.ico"
# FIXME: Add project logo
Expand Down
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions docs/source/convenience/packages/theia.rst
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/index.rst → docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The primary use cases are:
JupyterLab extensions) to access web APIs of other processes
running locally in a safe manner. This is used by the `JupyterLab
extension <https://github.com/dask/dask-labextension>`_ for
`dask <https://dask.org/>`_.
`dask <https://www.dask.org/>`_.


Contents
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions docs/launchers.rst → docs/source/launchers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ menu in the notebook's default tree view. Note that a new instance
is **not** launched every time you click an item - if the process
is already running, it is reused.

.. image:: images/nbextension-tree.png
.. image:: _static/images/nbextension-tree.png

JupyterLab Launcher Extension
=============================
Expand All @@ -31,6 +31,6 @@ to provide launcher icons for registered server processes.
This should provide icons for each registered process in the main
JupyterLab launcher

.. image:: images/labextension-launcher.png
.. image:: _static/images/labextension-launcher.png

Clicking on them will open the application in a new window.
File renamed without changes.

0 comments on commit 693c961

Please sign in to comment.