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

VuePress documentation #46

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open
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
20 changes: 20 additions & 0 deletions .github/workflows/vuepress-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build and Deploy
on: [push]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master

- name: copy openAPI spec for swagger
run: cp ./standard-covoiturage_openapi.yaml ./docs/src/.vuepress/public/standard-covoiturage_openapi.yaml

- name: vuepress-deploy
uses: jenkey2011/vuepress-deploy@master
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
TARGET_REPO: fabmob/standard-covoiturage
TARGET_BRANCH: gh-pages
BUILD_SCRIPT: npm install --prefix docs && npm run build --prefix docs
BUILD_DIR: docs/src/.vuepress/dist
8 changes: 5 additions & 3 deletions README.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ généralement permettre des échanges de services entre opérateurs de covoitur
et opérateurs de MaaS.


Veuillez consulter la [documentation de la
spécification](https://fabmob.github.io/standard-covoiturage/specification.html).
À date, le standard s'appuye sur une
[spécification OpenAPI (en)](./standard-covoiturage_openapi.yaml).
Une documentation additionnelle est en cours de rédaction (cf. le
[README du répertoire "doc"](./doc/README.fr.md)).
[spécification OpenAPI (en)](./standard-covoiturage_openapi.yaml) disponible
sous forme d'une [documentation
swagger](https://fabmob.github.io/standard-covoiturage/specification.html).

Le standard est publié en version informative (v1.0.0-alpha), pour permettre
une expérimentation avant publication en version normative. À ce titre, il est
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@ The "standard covoiturage" is intended to describe reference methods for
making data available, carrying out transactions and, more generally, enabling
the exchange of services between carpooling operators and MaaS platforms.

Please consult [the
documentation of the
specification](https://fabmob.github.io/standard-covoiturage/).
To date, the standard is based on an
[OpenAPI specification](./standard-carpooling_openapi.yaml).
Additional documentation is currently being written (see the
[README of the "doc" directory](./doc/README.md)).
[OpenAPI specification](./standard-carpooling_openapi.yaml), available as a
[swagger
documentation](https://fabmob.github.io/standard-covoiturage/specification.html).

The standard is published in a draft version (v1.0.0-alpha), to allow an
experimentation before publication in a final version. As such, it might be
Expand Down
8 changes: 0 additions & 8 deletions doc/README.fr.md

This file was deleted.

8 changes: 0 additions & 8 deletions doc/README.md

This file was deleted.

2 changes: 2 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
src/.vuepress/dist/
12 changes: 12 additions & 0 deletions docs/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
pids
logs
node_modules
npm-debug.log
coverage/
run
dist
.DS_Store
.nyc_output
.basement
config.local.js
basement_dist
File renamed without changes
Loading