Skip to content

Commit

Permalink
#42 Create initial blank pages for dev docs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhad6 committed Apr 29, 2024
1 parent 8807f0a commit e012d5d
Show file tree
Hide file tree
Showing 24 changed files with 344 additions and 39 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Contributing
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ParamDB

<!-- start badges -->
<!-- start intro -->

[![PyPI Latest Release](https://img.shields.io/pypi/v/paramdb)](https://pypi.org/project/paramdb/)
[![PyPI Python Versions](https://img.shields.io/pypi/pyversions/paramdb)](https://pypi.org/project/paramdb/)
Expand All @@ -9,10 +9,6 @@
[![Codecov](https://codecov.io/github/PainterQubits/paramdb/branch/main/graph/badge.svg?token=PQEJWLBTBK)](https://codecov.io/github/PainterQubits/paramdb)
[![Documentation Status](https://readthedocs.org/projects/paramdb/badge/?version=stable)](https://paramdb.readthedocs.io/en/stable/?badge=stable)

<!-- end badges -->

<!-- start intro -->

Python package for storing and retrieving experiment parameters.

<!-- end intro -->
Expand Down
10 changes: 10 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.PHONY: dev, build, clean

clean:
@rm -rf build

dev: clean
@poetry run sphinx-autobuild source build

build: clean
@poetry run sphinx-build source build
3 changes: 0 additions & 3 deletions docs/changelog.md

This file was deleted.

24 changes: 0 additions & 24 deletions docs/index.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/license.md

This file was deleted.

File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions docs/source/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```{include} ../../CHANGELOG.md
```
5 changes: 5 additions & 0 deletions docs/conf.py → docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
# HTML output options
html_theme = "furo"
html_static_path = ["_static"]
html_theme_options = {
"source_repository": "https://github.com/PainterQubits/paramdb",
"source_branch": "develop",
"source_directory": "docs",
}

# MyST options
myst_heading_anchors = 3
Expand Down
File renamed without changes.
3 changes: 3 additions & 0 deletions docs/source/development/code-of-conduct.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```{include} ../../../CODE_OF_CONDUCT.md
```
3 changes: 3 additions & 0 deletions docs/source/development/contributing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```{include} ../../../CONTRIBUTING.md
```
1 change: 1 addition & 0 deletions docs/source/development/dependency-management.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Dependency Managment
3 changes: 3 additions & 0 deletions docs/source/development/documentation-website.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Documentation Website

Written, using sphinx
3 changes: 3 additions & 0 deletions docs/source/development/environment-setup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Environment Setup

Install Python, Poetry, etc.
1 change: 1 addition & 0 deletions docs/source/development/project-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Project Design
1 change: 1 addition & 0 deletions docs/source/development/project-structure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Project Structure
30 changes: 30 additions & 0 deletions docs/source/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# ParamDB

```{include} ../../README.md
:start-after: <!-- start intro -->
:end-before: <!-- end intro -->
```

```{toctree}
:hidden:
installation
parameter-data
database
api-reference
changelog
license
```

```{toctree}
:caption: Development
:hidden:
development/environment-setup
development/dependency-management
development/project-structure
development/project-design
development/documentation-website
development/contributing
Code of Conduct<development/code-of-conduct>
```
2 changes: 1 addition & 1 deletion docs/installation.md → docs/source/installation.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Installation

```{include} ../README.md
```{include} ../../README.md
:start-after: <!-- start installation -->
:end-before: <!-- end installation -->
```
5 changes: 5 additions & 0 deletions docs/source/license.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# License

```{include} ../../LICENSE
```
File renamed without changes.
273 changes: 272 additions & 1 deletion poetry.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ furo = "^2024.1.29"
sphinx-copybutton = "^0.5.2"
jupyter-sphinx = "^0.5.3"
ipykernel = "^6.29.4"
sphinx-autobuild = "^2024.4.16"

[tool.mypy]
strict = true
Expand Down

0 comments on commit e012d5d

Please sign in to comment.