Skip to content

Commit

Permalink
Merge pull request #138 from nexB/clean-docs
Browse files Browse the repository at this point in the history
Use README in RTD docs
  • Loading branch information
AyanSinhaMahapatra authored Jul 10, 2023
2 parents ea522de + 51fbb81 commit 9cd5dbb
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 492 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.9

Expand Down
10 changes: 10 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@
# Required
version: 2

build:
os: ubuntu-22.04
tools:
python: "3.11"

# Build PDF & ePub
formats:
- epub
- pdf

# Where the Sphinx conf.py file is located
sphinx:
configuration: docs/source/conf.py
Expand Down
12 changes: 9 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# -- Project information -----------------------------------------------------

project = "nexb-skeleton"
project = "PurlDB"
copyright = "nexB Inc. and others."
author = "AboutCode.org authors and contributors"

Expand Down Expand Up @@ -67,8 +67,8 @@
html_context = {
"display_github": True,
"github_user": "nexB",
"github_repo": "nexb-skeleton",
"github_version": "develop", # branch
"github_repo": "purldb",
"github_version": "main", # branch
"conf_py_path": "/docs/source/", # path in the checkout to the docs root
}

Expand All @@ -95,3 +95,9 @@
.. role:: img-title-para
"""

# -- Options for LaTeX output -------------------------------------------------

latex_elements = {
'classoptions': ',openany,oneside'
}
314 changes: 0 additions & 314 deletions docs/source/contribute/contrib_doc.rst

This file was deleted.

Loading

0 comments on commit 9cd5dbb

Please sign in to comment.