Skip to content

Commit

Permalink
Poetry + Autobuild
Browse files Browse the repository at this point in the history
  • Loading branch information
laundmo committed Jul 22, 2022
1 parent 94d82ad commit 8a07a11
Show file tree
Hide file tree
Showing 6 changed files with 527 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py

# Optionally build your docs in additional formats such as PDF and ePub
formats: all

python:
install:
- method: pip
path: .
1 change: 0 additions & 1 deletion docs/requirements.txt

This file was deleted.

1 change: 0 additions & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ Welcome to the Northstar Modding Documentation!
===============================================



.. note::

This project is under active development. Please PR everything you can!
Expand Down
19 changes: 19 additions & 0 deletions moddingdocs.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Have to make this a python script since Poetry doesn't support commandline yet.
from pathlib import Path
import subprocess

DOCS = Path(__file__).parent / "docs"


def build():
subprocess.run(
[
"sphinx-autobuild",
"source",
"build/html",
"--open-browser",
"--ignore",
"*build/**",
],
cwd=DOCS,
)
Loading

0 comments on commit 8a07a11

Please sign in to comment.