diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 3348bf09..5927177f 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -63,9 +63,6 @@ jobs: restore-keys: | licenses- - - run: pip install mkdocs - - run: mkdocs build --site-dir ../website/static/doc/ -f docs/mkdocs.yml - - name: Build with Hugo env: # For maximum backward compatibility with Hugo modules diff --git a/docs/.gitignore b/docs/.gitignore deleted file mode 100644 index 701e8dd1..00000000 --- a/docs/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -# SPDX-License-Identifier: CC0-1.0 -# SPDX-FileCopyrightText: none - -# Automatically generated by src/generate-attribution.py -licenses.md diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml deleted file mode 100644 index 80b71177..00000000 --- a/docs/mkdocs.yml +++ /dev/null @@ -1,38 +0,0 @@ -# SPDX-FileCopyrightText: 2024 Lars Röglin -# SPDX-License-Identifier: CC0-1.0 -# Project information -site_name: Transitous -site_url: https://transitous.org/doc/ -site_author: Transitous contributors -site_description: >- - A community-run provider-neutral international public transport routing service. - -# Repository -repo_name: public-transport/transitous -repo_url: https://github.com/public-transport/transitous/ -edit_uri: edit/main/docs/docs/ - -# Copyright -copyright: Copyright © 2024 Transitous contributors - -# Configuration -theme: - name: readthedocs - highlightjs: true - hljs_languages: - - yaml - - rust - - python - -# Extensions -markdown_extensions: - - abbr - - admonition - - attr_list - - def_list - - footnotes - - md_in_html - -# Page tree -nav: - - Home: index.md diff --git a/docs/docs/index.md b/website/content/docs.md similarity index 85% rename from docs/docs/index.md rename to website/content/docs.md index 7f0360c6..b63e80d6 100644 --- a/docs/docs/index.md +++ b/website/content/docs.md @@ -1,9 +1,7 @@ --- -#template: home.html -title: Transitous -social: - cards_layout_options: - title: Free and Open Public Transport Routing +title: Docs +theme_version: '2.8.2' +layout: single --- -# Transitous - -Free and open public transport routing. - -## Goal - -A community-run provider-neutral international public transport routing service. - -Using openly available GTFS/GTFS-RT/etc. feeds and FOSS routing engine we want to operate a -routing service that: - -* focuses on the interest of the user rather than the public transport operators -* is free to use -* values user privacy -* does not stop at borders -* aims at crowd-sourced maintenance of data feeds in the spirit of FOSS - -## Contact - -* Matrix channel: [#opentransport:matrix.org](https://matrix.to/#/#opentransport:matrix.org) (for now) - ## Adding a region Transitous data sources are divided by region, so they can be continuously tested and verified by locals.