.github | ||
.gitlab/issue_templates | ||
assets | ||
configs | ||
content | ||
databags | ||
flowblocks | ||
i18n | ||
lego@8ab1406ed1 | ||
models | ||
packages | ||
templates | ||
.gitignore | ||
.gitlab-ci.yml | ||
.gitmodules | ||
babel.cfg | ||
community.lektorproject | ||
README.md | ||
requirements.txt |
Community portal
This is the repository of Community portal. The current online version of this portal can be found at https://community.torproject.org or Community Onion Service.
To clone the code use either of
git clone https://gitlab.torproject.org/tpo/web/community.git
torify git clone http://eweiibe6tdjsdprb4px6rqrzzcsi22m4koia44kc5pcjr7nec2rlxyad.onion/tpo/web/community.git/
or browse it online.
How to report bugs or feedback
First, check if the bug is already known. You can search and read all the issues at https://gitlab.torproject.org/. To create a new issue, please request a new account to access Tor Project's GitLab instance and find the right repository to report your issue. Issues related to our websites should be filed under the Web issue tracker.
What is Lektor
Lektor is a framework to generate and serve websites from Markdown files.
Its code can be found at GitHub.
How to contribute
(Easy) Edit this page button
You can click Edit this page
and submit your content changes in a Pull Request in GitLab.
(Advanced) Compiling a local version of the website
-
Download and install Lektor: https://www.getlektor.com/downloads/
-
Install the lektor-i18n plugin and its dependencies.
-
Clone the repository:
git clone https://gitlab.torproject.org/tpo/web/community.git
- Init the building blocks submodule:
$ cd community/lego && git submodule update --init --recursive
-
Translations for the website are imported by Jenkins when building the page, but if you want to test them, download the correct branch of the translations repo to the ./i18n/ folder.
-
Finally:
To run a local continuous builder: $ lektor server
To just build the website once: $ lektor build -O <folder>
How to develop on the website
Check our wiki pages.
Translations
To help us to translate, please join the Tor Project team in Transifex.
Getting help
If you want to contribute to the Community portal, we will be happy to help you. Join us at #tor-www in irc.oftc.net.
The community-generator plugin
This lektor site uses a special plugin called community-generator
, you can find it in the packages
directory. This plugin generates a special set of lektor contents files used for a js-free filtering system on the training resources page.
You shouldn't need to do anything or know anything about this plugin in order to use it. If you want to develop on this plugin, see the plugin's README.