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

Setup sphinx docs #140

Closed
wants to merge 8 commits into from
Closed
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
30 changes: 30 additions & 0 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Sphinx build

on:
push:
branches:
- sphinx-docs
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: sphinx-docs
- name: Build HTML
uses: ammaraskar/sphinx-action@master
with:
docs-folder: "docs/"
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: html-docs
path: docs/_build/html/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/sphinx-docs'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html/
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ app/htmlcov
!.vscode/*.code-snippets

erd.png
docs/_build
docs/_ext/__pycache__
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)

# PeopleDepot
## Summary

PeopleDepot is a project of Hack for LA, a brigade of Code for America. PeopleDepot aims to provide a single source of truth as the backend infrastructure and data store for Hack for LA projects, including data about people, program areas, and projects. PeopleDepot uses PostgreSQL for its database and Django as the backend data model framework with Django REST Framework for the API layer. PeopleDepot's goal is to serve as a repository of information for other infrastructure projects (e.g., VRMS, Hack for LA Website, Civic Tech Index, Tables, etc).

Expand All @@ -9,6 +9,7 @@ PeopleDepot is a project of Hack for LA, a brigade of Code for America. PeopleDe
The hardest part about running a large organization using only free or open source tools and technologies is how to manage the flow of information and provide relevant info to all the people and projects that need it. Managing multiple databases inefficiently can end up taking more time than the projects themselves. This project seeks to create a maintainable database infrastructure that is synchronized.

In the process, it should allow for further automation and do away with manual storage of duplicate information across projects, which includes:

- Recruiting members (Website: Project info and meeting times)
- Onboarding members to resources (e.g., GitHub, Google Calendar, Google Drive, Google Docs, Google Sheets, etc.)
- Helping members find roles (Civic Tech Jobs: roles and project info)
Expand All @@ -18,7 +19,7 @@ In the process, it should allow for further automation and do away with manual s

- [Docker][docker-docs]
- [Django][django-docs]
- [DjangoRestFramework][drf-docs]
- [Django REST Framework][drf-docs]
- [PostgreSQL][postgres-docs]

## How to contribute
Expand All @@ -41,7 +42,6 @@ This repository uses the [GNU General Public License (v2.0)][licensing].
[django-docs]: https://docs.djangoproject.com/
[drf-docs]: https://www.django-rest-framework.org/tutorial/quickstart/
[postgres-docs]: https://www.postgresql.org/docs/
[contributing]: ./docs/CONTRIBUTING.md
[contributing]: ./CONTRIBUTING.md
[HfLA onboarding]: https://www.hackforla.org/getting-started
[licensing-a-repo]: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository
[licensing]: ./LICENSE.md
[licensing]: ./LICENSE
Loading