Our main aim is a trustless voting system where anyone can speak their voice and where everything is auditable.
We are engineering building blocks for a permissionless, private and censorship resistant democracy.
Explore the developer portal »
Vocdoni Website | Web Application | Blockchain Explorer | MIT Law Publication | Contact Us
Vocdoni Node | Vocdoni SDK | UI Components | Application UI | Census3
This repository hosts the Vocdoni developer portal, the source-of-truth of technical documentation for all of the software under the Vocdoni umbrella. It is created with Docusaurus and is hosted at https://developer.vocdoni.io
You can host the developer portal locally. The easiest way to do so is with the docusaurus development server:
yarn install
yarn start
You can also build the site:
yarn build
You can locally deploy the site:
USE_SSH=true yarn deploy
This will run docusaurus deploy
which deploys whatever iteration of the site has been built in the build/
folder. It will then push the build result to the remote gh-pages
branch corresponding to the branch you are running the command from.
There are multiple auto-generated documentation files that require generation.
The Vocdoni API documentation is sourced from the swaggers
folder. If you modified the swagger file under swaggers/
folder and want to build .mdx
files again:
yarn run re-gen
Note that this docs generation step is already performed as part of yarn start
or yarn build
.
If you want to generate the SDK documentation for yourself, you can do so from inside the docs
directory in the vocdoni-sdk
project.
yarn
yarn build
This creates a temporary documentation folder temp_docs
.
Then you can return to the developer-documentation directory and run the yarn script to replace the SDK reference folder, clean up some broken autogenerated links, and remove the temp_docs folder:
# Set the vocdoni sdk folder path
export VOCDONI_SDK_PATH=......
yarn copy-sdk-docs
Note that the SDK docs are tracked by git, and you should not need to do this if you are not a repo maintainer.
We integrated crowdin for translations. Use:
yarn crowdin:upload
To upload translations to crowdin. There you can translate the files and then download them using:
yarn crowdin:download
This will download translation files to the i18n/
folder. To test them use yarn start -- --locale es
.
See these issues 1,
2 to understand why the pre
/post
scripts
on crowdin download and upload.
While we welcome contributions from the community, we do not track all of our issues on Github and we may not have the resources to onboard developers and review complex pull requests. That being said, there are multiple ways you can get involved with the project.
Please review our development guidelines.
This repository is licensed under the GNU Affero General Public License v3.0.
Vocdoni Developer Portal
Copyright (C) 2024 Vocdoni Association
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.