diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 31574d9..abfb13a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -36,7 +36,13 @@ jobs: run: echo "APP_VERSION=$(cat VERSION)" >> $GITHUB_ENV - name: 'Deploy documentation for beta version' if: github.ref_name == 'main' - run: mike deploy --push --config-file config/en/mkdocs.yml --prefix en/ --title "${APP_VERSION} (beta)" beta + run: | + for lang in ga en; do + mike deploy --push --config-file config/$lang/mkdocs.yml --prefix $lang/ --title "${APP_VERSION} (beta)" beta + done - name: 'Deploy documentation for stable version' if: github.ref_name == 'stable' - run: mike deploy --push --config-file config/en/mkdocs.yml --prefix en/ --update-aliases ${APP_VERSION} current + run: + for lang in ga en; do + mike deploy --push --config-file config/$lang/mkdocs.yml --prefix $lang/ --update-aliases ${APP_VERSION} current + done diff --git a/README.md b/README.md index cb809f4..c302b44 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ python -m venv venv Activate the virtual environment. You need to do this every time you want to build the site: ```shell -source virtual_env/bin/activate +source venv/bin/activate ``` Install the dependencies: diff --git a/config/ga/mkdocs.yml b/config/ga/mkdocs.yml new file mode 100644 index 0000000..e4248e8 --- /dev/null +++ b/config/ga/mkdocs.yml @@ -0,0 +1,38 @@ +site_name: K-9 Mail +site_url: https://docs.k9mail.app/ga/ +docs_dir: '../../docs/ga' +site_dir: '../../site/ga' +repo_url: https://github.com/k9mail/k9mail-docs +edit_uri: edit/main/docs/ga/ + +theme: + name: material + custom_dir: '../../overrides/' + logo: assets/images/icon.png + favicon: assets/images/favicon.png + language: en + features: + - content.action.edit + - navigation.footer + +extra_css: + - assets/stylesheets/extra.css + +extra: + version: + provider: mike + default: current + +markdown_extensions: + - toc: + permalink: true + +plugins: + - search + - mike: + canonical_version: current + css_dir: assets/stylesheets + javascript_dir: assets/javascripts + +nav: + - Fáilte: index.md \ No newline at end of file diff --git a/docs/ga/index.md b/docs/ga/index.md new file mode 100644 index 0000000..a2bea0c --- /dev/null +++ b/docs/ga/index.md @@ -0,0 +1,7 @@ +# Lámhleabhar Úsáideora K-9 Mail + +Fáilte chuig lámhleabhar an úsáideora do [K-9 Mail](https://k9mail.app/) 6.5xx (beta). + +Cé go bhfuilimid ag obair i dtreo eisiúint sheasmhach nua, bíonn an lámhleabhar úsáideora seo as dáta go minic. Más maith leat cabhrú leis an scéal seo a réitigh, seiceáil amach an [repo k9mail-docs](https://github.com/k9mail/k9mail-docs). + +Má tá ceisteanna agat nach féidir a fhreagairt leis na leathanaigh seo, téigh chuig ár [support forum](https://forum.k9mail.app/). \ No newline at end of file