Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
levisingularity committed Aug 13, 2024
1 parent ff990e9 commit 93183b9
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 6 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Test

on:
push:
branches: fix/404-docs

jobs:
publish:
environment: prod
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ^3.10

- name: Install Poetry
run: |
pip install poetry
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
- name: Update Documentation
run: |
poetry lock --no-update
poetry export --with doc -f requirements.txt | pip install -r /dev/stdin
mkdocs gh-deploy --force
8 changes: 8 additions & 0 deletions docs/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{% extends "main.html" %}

<!-- Content -->

{% block content %}

<h1>404 - Not found</h1>
{% endblock %}
11 changes: 5 additions & 6 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ site_name: Distributed Atomspace
repo_url: https://github.com/singnet/das-query-engine
repo_name: singnet/das-query-engine
edit_uri: tree/master/docs

validation:
links:
absolute_links: relative_to_docs
custom_dir: overrides

theme:
name: material
font:
text: Roboto
code: Roboto Mono


static_templates:
- 404.html

watch:
- hyperon_das

Expand All @@ -28,4 +28,3 @@ plugins:
options:
show_source: false
- search

0 comments on commit 93183b9

Please sign in to comment.