Skip to content

Commit

Permalink
Merge pull request #44 from TUB-DVG/gh-pages2
Browse files Browse the repository at this point in the history
Gh pages2
  • Loading branch information
c0nb4 authored Sep 4, 2024
2 parents f1d104b + a4516eb commit f0abd7c
Show file tree
Hide file tree
Showing 13 changed files with 61 additions and 102 deletions.
46 changes: 0 additions & 46 deletions .github/workflows/sphinx-pages

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/sphinx-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build and Deploy
on:
push:
branches:
- main # Trigger only on pushes to the main branch
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4

- uses: actions/setup-python@v5
- name: Install dependencies
run: |
pip install sphinx sphinx_rtd_theme myst_parser sphinxcontrib-mermaid
- name: Sphinx build
run: |
sphinx-build webcentral/doc/06_sphinx/source build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build # The folder the action should deploy.
46 changes: 0 additions & 46 deletions .github/workflows/static.yml

This file was deleted.

5 changes: 3 additions & 2 deletions webcentral/doc/06_sphinx/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,17 @@
# django.setup()
extensions = [
# "sphinx.ext.autodoc",
"sphinx.ext.githubpages",
"myst_parser",
"sphinxcontrib.mermaid",
"sphinx.ext.napoleon",
]

templates_path = ["_templates"]
templates_path = ["templates"]
exclude_patterns = []

# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = "alabaster"
html_static_path = ["_static"]
html_static_path = ["static"]
File renamed without changes.
File renamed without changes.
40 changes: 32 additions & 8 deletions webcentral/doc/06_sphinx/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,50 @@ Welcome to webcentral's documentation!
Here you can find the documentation of the page source. The source code can be found on Github (insert link).
If you would like to do some development or host the Wissensplattform, please find information on the get started (insert link) page

End user guide
==============

.. toctree::
:maxdepth: 2
:caption: Contents:

general/getting_started
general/data_import
general/migrations
general/production

Develop guide
=============

.. toctree::
:maxdepth: 2
:caption: Contents:

dev/style_guide
dev/static_code_analysis
dev/pyproject_toml
dev/testing
dev/load_profiles
dev/plotly_apps
dev/csp
dev/use_cases
dev/save_page_views

.. toctree::
:maxdepth: 2
:caption: Contents:

quickstart
migrations
installtion_basics
pyproject_toml
contentSecurityPolicy
dataImportDjango
insertLinksInDatabase
templateStructure
translation
loadProfiles
plotlyApps
useCases
listing_pages
testing
production




Indices and tables
==================

Expand Down

0 comments on commit f0abd7c

Please sign in to comment.