Go to file
mfwmyfacewhen 3ae6f80797
Fix search suggestions (#1905)
Signed-off-by: Daniel Gray <dngray@privacyguides.org>
2022-12-11 00:28:25 +10:30
.github Bump crowdin/github-action from 1.5.0 to 1.5.1 2022-11-17 04:12:11 +00:00
.well-known Pull Matrix server configuration (#1656) 2022-08-18 11:46:56 -05:00
docs Fix search suggestions (#1905) 2022-12-11 00:28:25 +10:30
includes KB Cleanup (#1848) 2022-10-22 00:56:15 -05:00
mkdocs-material@0f6a162d2b Enable Netlify deployments 2022-10-23 17:18:58 -05:00
theme About category changes (#1875) 2022-11-01 16:54:42 -05:00
.allowed_signers Enable SSH Git commit signing (#1122) 2022-04-27 16:04:13 -05:00
.gitattributes Mark .md files as linguist-detectable 2022-04-12 17:37:31 -05:00
.gitignore Transition to mkdocs (#829) 2022-04-02 06:59:03 +10:30
.gitmodules Remove blog submodule 2022-08-10 19:50:03 -05:00
.markdownlint.yml Listing common threat examples (#1276) 2022-05-21 16:55:14 -05:00
CITATION.cff Relicensing (#1820) 2022-09-29 10:14:43 -05:00
crowdin.yml Use abbreviations across site (#1060) 2022-04-22 12:06:26 -05:00
LICENSE Relicensing (#1820) 2022-09-29 10:14:43 -05:00
mkdocs.production.yml About category changes (#1875) 2022-11-01 16:54:42 -05:00
mkdocs.yml Update Qubes Documentation (#1568) 2022-11-28 19:07:14 +10:30
netlify.toml Update Qubes Documentation (#1568) 2022-11-28 19:07:14 +10:30
Pipfile Netlify Configuration 2022-10-24 08:58:19 -05:00
Pipfile.lock Netlify Configuration 2022-10-24 08:58:19 -05:00
README.md Added link to About section (#1896) 2022-11-22 02:13:25 +10:30

Privacy Guides

Your central privacy and security resource to protect yourself online.

About

Privacy Guides is a socially motivated website that provides information for protecting your data security and privacy. We are a non-profit collective operated entirely by volunteer team members and contributors.

Our current list of team members can be found here. Additionally, many people have made contributions to the project, and you can too!

Contributing

Mirrors

GitHub Gitea GitLab Codeberg SourceHut

Developing

Committing to this repository requires signing your commits (git config commit.gpgsign true) unless you are making edits via the GitHub.com text editor interface. As of August 2022 the preferred signing method is SSH commit signatures, but GPG signing is also acceptable. You should add your signing key to your GitHub profile.

This website uses mkdocs-material-insiders which offers additional functionality over the open-source mkdocs-material project. For obvious reasons we cannot distribute access to the insiders repository. You can install the website locally with the open-source version of mkdocs-material:

  1. Clone this repository:
    • git clone https://github.com/privacyguides/privacyguides.org.git (then cd privacyguides.org)
    • git submodule init
    • git submodule update docs/assets/brand
    • git config gpg.ssh.allowedSignersFile .allowed_signers
  2. Install Python 3.6+ (currently only tested with 3.10)
  3. Install dependencies: pip install mkdocs mkdocs-material mkdocs-static-i18n mkdocs-macros-plugin typing-extensions
  4. Serve the site locally: mkdocs serve
    • The site will be available at http://localhost:8000
    • You can build the site locally with mkdocs build
    • Your local version of the site may be missing functionality, which is expected. If you are submitting a PR, please ensure the automatic preview generated for your PR looks correct, as that site will be built with the production insiders build.

Team members should clone the repository with mkdocs-material-insiders directly. This method is identical to production:

  1. Clone this repository and submodules: git clone --recurse-submodules https://github.com/privacyguides/privacyguides.org.git
  2. Enable SSH commit verification with our local .allowed_signers file: git config gpg.ssh.allowedSignersFile .allowed_signers
  3. Install Python 3.10
  4. Install pipenv: pip install pipenv
  5. Install dependencies: pipenv install --dev (install Pillow and CairoSVG as well to generate social cards)
  6. Serve the site locally: pipenv run mkdocs serve --config-file mkdocs.production.yml (set CARDS=true to generate social cards)
    • The site will be available at http://localhost:8000
    • You can build the site locally with pipenv run mkdocs build
    • This version of the site should be identical to the live, production version

If you commit to main with commits signed with your SSH key, you should add your SSH key to .allowed_signers in this repo.

Releasing

  1. Create a new tag: git tag -s v2.X.X -m 'Some message'
    • View existing tags
    • Tag numbering: Increment the MINOR (2nd) number when making significant changes (adding/deleting pages, etc.), increment the PATCH (3rd) number when making minor changes (typos, bug fixes). Probably leave the MAJOR number at 2 until a massive revamp (v1 -> v2 was the Jekyll to MkDocs transition).
    • Consider enabling GPG tag signing by default (git config tag.gpgSign true) to avoid missing signatures
  2. Push the tag to GitHub: git push --tags
  3. A GitHub Release will be automatically created and deployed to the live site.
    • You may wish to manually check or edit the release changelog/title after it is published for accuracy.