Skip to content

Commit

Permalink
refactor: rename doc to docs, and adopt a docs/source folder
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Oct 21, 2022
1 parent 326d6e2 commit fcd5135
Show file tree
Hide file tree
Showing 45 changed files with 13 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ on:
paths-ignore:
- "**.md"
- "**.rst"
- "doc/**"
- "docs/**"
- "examples/**"
- ".github/workflows/**"
- "!.github/workflows/publish.yml"
push:
paths-ignore:
- "**.md"
- "**.rst"
- "doc/**"
- "docs/**"
- "examples/**"
- ".github/workflows/**"
- "!.github/workflows/publish.yml"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ on:
paths-ignore:
- "**.md"
- "**.rst"
- "doc/**"
- "docs/**"
- "examples/**"
- ".github/workflows/**"
- "!.github/workflows/test.yml"
push:
paths-ignore:
- "**.md"
- "**.rst"
- "doc/**"
- "docs/**"
- "examples/**"
- ".github/workflows/**"
- "!.github/workflows/test.yml"
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ build:

python:
install:
- requirements: doc/requirements.txt
- requirements: docs/requirements.txt
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ language](http://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html
1. Install BinderHub and the documentation tools:

```bash
python3 -m pip install -r doc/requirements.txt
python3 -m pip install -r docs/requirements.txt
```

1. The documentation is located in the `doc/` sub-directory, `cd` into it:
1. The documentation is located in the `docs/` sub-directory, `cd` into it:

```bash
cd ./doc
cd ./docs
```

1. To build the documentation run:
Expand Down
3 changes: 0 additions & 3 deletions doc/contribute.md

This file was deleted.

2 changes: 1 addition & 1 deletion doc/Makefile → docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# from the environment for the first two.
SPHINXOPTS ?= -W
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
SOURCEDIR = source
BUILDDIR = _build

# Put it first so that "make" without argument is like "make help".
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion doc/make.bat → docs/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if "%SPHINXOPTS%" == "" (
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
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions docs/source/contribute.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
```{include} ../../CONTRIBUTING.md
```
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion helm-chart/binderhub/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# This schema is also used by our documentation system to build the
# configuration reference section based on the description fields. See
# doc/source/conf.py for that logic!
# docs/source/conf.py for that logic!
#
# We look to document everything we have default values for in values.yaml, but
# we don't look to enforce the perfect validation logic within this file.
Expand Down

0 comments on commit fcd5135

Please sign in to comment.