Skip to content

Commit

Permalink
Netlify Configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaharagon committed Oct 24, 2022
1 parent c4f5871 commit b9612de
Show file tree
Hide file tree
Showing 3 changed files with 233 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ mkdocs-git-revision-date-localized-plugin = "*"
typing-extensions = "*"
mkdocs-git-committers-plugin-2 = "*"
mkdocs-macros-plugin = "*"
pillow = "*"
cairosvg = "*"

[dev-packages]
scour = "*"
Expand Down
188 changes: 187 additions & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 44 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[build]
publish = "site/"
command = "mkdocs build --config-file mkdocs.production.yml"

[context.production.environment]
CARDS = "true"

[[redirects]]
from = "/.well-known/matrix/*"
to = "https://matrix.privacyguides.org/.well-known/matrix/:splat"
status = 200
force = true

[[redirects]]
from = "/kb"
to = "/basics/threat-modeling/"

[[redirects]]
from = "/browsers"
to = "/desktop-browsers/"

[[redirects]]
from = "/blog"
to = "https://blog.privacyguides.org"

[[redirects]]
from = "/blog/2021/12/01/firefox-privacy-2021-update"
to = "https://blog.privacyguides.org/2021/12/01/firefox-privacy-2021-update/"

[[redirects]]
from = "/blog/2021/09/14/welcome-to-privacy-guides"
to = "https://blog.privacyguides.org/2021/09/14/welcome-to-privacy-guides/"

[[redirects]]
from = "/blog/2022/06/09/hide-nothing"
to = "https://blog.privacyguides.org/2022/06/09/hide-nothing/"

[[redirects]]
from = "/blog/2022/04/04/move-fast-and-break-things"
to = "https://blog.privacyguides.org/2022/04/04/move-fast-and-break-things/"

[[redirects]]
from = "/blog/2021/11/01/virtual-insanity"
to = "https://blog.privacyguides.org/2021/11/01/virtual-insanity"

1 comment on commit b9612de

@privacyguides-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit has been mentioned on Privacy Guides. There might be relevant details there:

https://discuss.privacyguides.net/t/netlify-configuration/11122/1

Please sign in to comment.