Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dev environment #90

Merged
merged 1 commit into from
Nov 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
uses: actions/setup-python@v2
- name: Install dependencies
run: |
sudo apt install pandoc
pip install poetry
poetry install
- name: Build docs
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt install pandoc
pip install poetry
poetry install
playwright install chromium
Expand Down
6 changes: 0 additions & 6 deletions docs/build
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
#!/bin/bash -eu


# convert README.md to readme.rst
pandoc --column 500 -f markdown -t rst -o docs/readme.rst README.md


# auto-generate package guide
sphinx-apidoc -efT -o docs/_apidoc arxiv_post


# build website
sphinx-build -a docs docs/_build
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

# General configuration
extensions = [
"myst_parser",
"sphinx.ext.autodoc",
"sphinx.ext.viewcode",
"sphinx.ext.napoleon",
Expand Down
7 changes: 7 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```{include} ../README.md
```

```{toctree}
Home <self>
Package guide <_apidoc/arxiv_post>
```
7 changes: 0 additions & 7 deletions docs/index.rst

This file was deleted.