Skip to content

Commit d6ce0b1

Browse files
committed
update hooks
1 parent ee8e6ce commit d6ce0b1

File tree

8 files changed

+417
-98
lines changed

8 files changed

+417
-98
lines changed

hooks.py

Lines changed: 191 additions & 96 deletions
Large diffs are not rendered by default.
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"action.edit": "Edit this page",
3+
"action.view": "View source",
4+
"disclaimer.third_party": "The information presented herein has been provided by third parties and is made available solely for general information purposes. Tanssi does not endorse any project listed and described on the Tanssi Doc Website (https://docs.tanssi.network/). Tanssi Foundation does not warrant the accuracy, completeness or usefulness of this information. Any reliance you place on such information is strictly at your own risk. Tanssi Foundation disclaims all liability and responsibility arising from any reliance placed on this information by you or by anyone who may be informed of any of its contents. All statements and/or opinions expressed in these materials are solely the responsibility of the person or entity providing those materials and do not necessarily represent the opinion of Tanssi Foundation. The information should not be construed as professional or financial advice of any kind. Advice from a suitably qualified professional should always be sought in relation to any particular matter or circumstance. The information herein may link to or integrate with other websites operated or content provided by third parties, and such other websites may link to this website. Tanssi Foundation has no control over any such other websites or their content and will have no liability arising out of or related to such websites or their content. The existence of any such link does not constitute an endorsement of such websites, the content of the websites, or the operators of the websites. These links are being provided to you only as a convenience and you release and hold Tanssi Foundation harmless from any and all liability arising from your use of this information or the information provided by any third-party website or service.",
5+
"error.404_title": "404 – Not found",
6+
"external_link_modal.cancel": "Cancel",
7+
"external_link_modal.continue": "Continue to External Site",
8+
"external_link_modal.header": "You're Leaving the Tanssi Documentation Website",
9+
"external_link_modal.message": "A new tab will open and you'll be sent to an independent, third-party website that is not affiliated with Tanssi.",
10+
"feedback.ratings.helpful.name": "This page was helpful",
11+
"feedback.ratings.helpful.note": "Thanks for your feedback!",
12+
"feedback.ratings.unhelpful.name": "This page could be improved",
13+
"feedback.ratings.unhelpful.note": "Thanks for your feedback! Help us improve this page by submitting <a href=\"https://github.com/moondance-labs/tanssi-docs/issues/new/?title=[Feedback]+{title}+-+{url}\" target=\"_blank\" rel=\"noopener\">additional feedback</a>.",
14+
"feedback.title": "Was this page helpful?",
15+
"footer.llms_full_label": "llms-full.txt",
16+
"footer.made_with_html": "Made with 🩵 by <a href=\"https://papermoon.io/\" target=\"_blank\">PaperMoon</a>",
17+
"footer.material_attribution_html": "Made with <a href=\"https://squidfunk.github.io/mkdocs-material/\" target=\"_blank\" rel=\"noopener\">Material for MkDocs</a>",
18+
"footer.privacy_policy": "Privacy Policy",
19+
"footer.terms_of_use": "Terms of Use",
20+
"home.community.buttons.discord": "Join Discord",
21+
"home.community.buttons.subscribe": "Subscribe",
22+
"home.community.heading.accent": "Dev",
23+
"home.community.heading.prefix": "Join the Tanssi",
24+
"home.community.heading.suffix": "Community",
25+
"home.feature.cards.one.arrow_alt": "Navigate to the Apply for a Grant page",
26+
"home.feature.cards.one.badge": "Ecosystem",
27+
"home.feature.cards.one.title": "Apply for a Grant",
28+
"home.feature.cards.three.arrow_alt": "Navigate to the Ecosystem Updates page",
29+
"home.feature.cards.three.badge": "Industry Insights",
30+
"home.feature.cards.three.title": "Ecosystem Updates",
31+
"home.feature.cards.two.arrow_alt": "Navigate to the TestNet page",
32+
"home.feature.cards.two.badge": "Start Building",
33+
"home.feature.cards.two.title": "Visit the TestNet",
34+
"home.feature.description": "Explore more ways to engage with the Tanssi ecosystem—access funding, resources, and visibility for your project.",
35+
"home.feature.heading.accent": "Builders",
36+
"home.feature.heading.prefix": "The One Stop-Hub For Tanssi",
37+
"home.feature.heading.suffix": "",
38+
"home.feature.separator_alt": "Multicolor decorative design of Tanssi",
39+
"home.hero.cards.evm.button": "Learn More",
40+
"home.hero.cards.evm.description": "Leverage popular EVM tools to accelerate your development.",
41+
"home.hero.cards.evm.title": "Develop using EVM Tools",
42+
"home.hero.cards.launch.button": "Get Started",
43+
"home.hero.cards.launch.description": "Get tools and guides to launch your network in minutes.",
44+
"home.hero.cards.launch.title": "Launch a Tanssi-Powered Network",
45+
"home.hero.cards.learn.button": "Learn More",
46+
"home.hero.cards.learn.description": "Learn Tanssi's features, services, and security via Symbiotic.",
47+
"home.hero.cards.learn.title": "Explore Technical Concepts",
48+
"home.hero.subtitle": "Build, launch, and scale Symbiotic Networks faster with Tanssi's infrastructure, tools, and integrations.",
49+
"home.hero.title_html": "Tanssi <span class=\"shadow\">&lt;Dev&gt;</span> Site",
50+
"home.hero.video_fallback": "Your browser does not support the video tag.",
51+
"home.meta.title": "Tanssi Docs",
52+
"meta.home_title": "Documentation for the Tanssi Network"
53+
}
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"action.edit": "Editar esta página",
3+
"action.view": "Ver fonte",
4+
"disclaimer.third_party": "As informações apresentadas aqui foram fornecidas por terceiros e estão disponíveis apenas para fins informativos gerais. A Tanssi não endossa nenhum projeto listado e descrito no Site de Documentação da Tanssi (https://docs.tanssi.network/). A Tanssi Foundation não garante a precisão, integridade ou utilidade dessas informações. Qualquer confiança depositada nelas é de sua exclusiva responsabilidade. A Tanssi Foundation se exime de toda responsabilidade decorrente de qualquer confiança que você ou qualquer outra pessoa possa ter em qualquer parte deste conteúdo. Todas as declarações e/ou opiniões expressas nesses materiais são de responsabilidade exclusiva da pessoa ou entidade que as fornece e não representam necessariamente a opinião da Tanssi Foundation. As informações aqui não devem ser interpretadas como aconselhamento profissional ou financeiro de qualquer tipo. Sempre busque orientação de um profissional devidamente qualificado em relação a qualquer assunto ou circunstância em particular. As informações aqui podem conter links ou integração com outros sites operados ou conteúdo fornecido por terceiros, e tais sites podem apontar para este site. A Tanssi Foundation não tem controle sobre esses sites ou seu conteúdo e não terá responsabilidade decorrente ou relacionada a eles. A existência de qualquer link não constitui endosso desses sites, de seu conteúdo ou de seus operadores. Esses links são fornecidos apenas para sua conveniência, e você isenta e exonera a Tanssi Foundation de qualquer responsabilidade decorrente do uso dessas informações ou das informações fornecidas por qualquer site ou serviço de terceiros.",
5+
"error.404_title": "404 - Não encontrado",
6+
"external_link_modal.cancel": "Cancelar",
7+
"external_link_modal.continue": "Continuar para o site externo",
8+
"external_link_modal.header": "Você está saindo do site de documentação da Tanssi",
9+
"external_link_modal.message": "Uma nova aba será aberta e você será direcionado a um site independente de terceiros, que não é afiliado à Tanssi.",
10+
"feedback.ratings.helpful.name": "Esta página foi útil",
11+
"feedback.ratings.helpful.note": "Obrigado pelo seu feedback!",
12+
"feedback.ratings.unhelpful.name": "Esta página pode ser aprimorada",
13+
"feedback.ratings.unhelpful.note": "Obrigado pelo seu feedback! Ajude-nos a melhorar esta página enviando <a href=\"https://github.com/moondance-labs/tanssi-docs/issues/new/?title=[Feedback]+{title}+-+{url}\" target=\"_blank\" rel=\"noopener\">feedback adicional</a>.",
14+
"feedback.title": "Esta página foi útil?",
15+
"footer.llms_full_label": "llms-full.txt",
16+
"footer.made_with_html": "Feito com 🩵 por <a href=\"https://papermoon.io/\" target=\"_blank\">PaperMoon</a>",
17+
"footer.material_attribution_html": "Feito com <a href=\"https://squidfunk.github.io/mkdocs-material/\" target=\"_blank\" rel=\"noopener\">Material for MkDocs</a>",
18+
"footer.privacy_policy": "Política de privacidade",
19+
"footer.terms_of_use": "Termos de uso",
20+
"home.community.buttons.discord": "Entrar no Discord",
21+
"home.community.buttons.subscribe": "Assinar",
22+
"home.community.heading.accent": "Dev",
23+
"home.community.heading.prefix": "Junte-se à comunidade",
24+
"home.community.heading.suffix": "da Tanssi",
25+
"home.feature.cards.one.arrow_alt": "Ir para a página Solicite um grant",
26+
"home.feature.cards.one.badge": "Ecossistema",
27+
"home.feature.cards.one.title": "Solicite um grant",
28+
"home.feature.cards.three.arrow_alt": "Ir para a página Atualizações do ecossistema",
29+
"home.feature.cards.three.badge": "Insights do setor",
30+
"home.feature.cards.three.title": "Atualizações do ecossistema",
31+
"home.feature.cards.two.arrow_alt": "Ir para a página do TestNet",
32+
"home.feature.cards.two.badge": "Comece a construir",
33+
"home.feature.cards.two.title": "Visite o TestNet",
34+
"home.feature.description": "Explore mais maneiras de se engajar com o ecossistema Tanssi - obtenha financiamento, recursos e visibilidade para o seu projeto.",
35+
"home.feature.heading.accent": "Construtores",
36+
"home.feature.heading.prefix": "O hub completo da Tanssi",
37+
"home.feature.separator_alt": "Design decorativo multicolorido da Tanssi",
38+
"home.hero.cards.evm.button": "Saiba mais",
39+
"home.hero.cards.evm.description": "Aproveite as ferramentas EVM mais populares para acelerar seu desenvolvimento.",
40+
"home.hero.cards.evm.title": "Desenvolva com ferramentas EVM",
41+
"home.hero.cards.launch.button": "Começar",
42+
"home.hero.cards.launch.description": "Obtenha ferramentas e guias para lançar sua rede em minutos.",
43+
"home.hero.cards.launch.title": "Lance uma rede movida pela Tanssi",
44+
"home.hero.cards.learn.button": "Saiba mais",
45+
"home.hero.cards.learn.description": "Conheça os recursos, os serviços e a segurança da Tanssi por meio da Symbiotic.",
46+
"home.hero.cards.learn.title": "Explore conceitos técnicos",
47+
"home.hero.subtitle": "Construa, lance e escale redes Symbiotic mais rápido com a infraestrutura, as ferramentas e as integrações da Tanssi.",
48+
"home.hero.title_html": "Site Tanssi <span class=\"shadow\">&lt;Dev&gt;</span>",
49+
"home.hero.video_fallback": "Seu navegador não suporta a tag de vídeo.",
50+
"home.meta.title": "Tanssi Docs",
51+
"meta.home_title": "Documentação da rede Tanssi"
52+
}

material-overrides/404.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
-#}
44

55
{% extends "main.html" %}
6+
7+
{# 404 pages shouldn't show the sidebar feedback/edit block. #}
8+
{% block site_nav %}{% endblock %}
9+
610
{% block content %}
711
<h1 id="not-found-title" class="not-found">
812
{{ trans("error.404_title", lang=page.lang if page is defined else None) }}

material-overrides/partials/language.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
1-
{%- import "partials/languages/" ~ config.theme.language ~ ".html" as language_pack -%}
1+
{# Pick the correct Material language pack per page/locale. #}
2+
{% set active_lang = config.theme.language | default("en") %}
3+
{% if page is defined %}
4+
{% if page.lang %}
5+
{% set active_lang = page.lang %}
6+
{% elif page.file is defined and page.file.locale %}
7+
{% set active_lang = page.file.locale %}
8+
{% endif %}
9+
{% endif %}
10+
11+
{%- import "partials/languages/" ~ active_lang ~ ".html" as language_pack -%}
212
{%- import "partials/languages/en.html" as fallback_language -%}
313
{%- macro translate(key) -%}
414
{{ language_pack.t(key) or fallback_language.t(key) or key }}

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ site_name: Tanssi Docs
22
site_url: https://docs.tanssi.network/
33
home_url: https://tanssi.network/
44
edit_uri: https://github.com/moondance-labs/tanssi-docs/edit/main/
5-
site_dir: /var/www/tanssi-docs-static
5+
site_dir: #/var/www/tanssi-docs-static
66
docs_dir: tanssi-docs
77
copyright: © 2026 Tanssi Foundation. All Rights Reserved.
88
hooks:
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"action.edit": "Edit this page",
3+
"action.view": "View source",
4+
"disclaimer.third_party": "The information presented herein has been provided by third parties and is made available solely for general information purposes. Tanssi does not endorse any project listed and described on the Tanssi Doc Website (https://docs.tanssi.network/). Tanssi Foundation does not warrant the accuracy, completeness or usefulness of this information. Any reliance you place on such information is strictly at your own risk. Tanssi Foundation disclaims all liability and responsibility arising from any reliance placed on this information by you or by anyone who may be informed of any of its contents. All statements and/or opinions expressed in these materials are solely the responsibility of the person or entity providing those materials and do not necessarily represent the opinion of Tanssi Foundation. The information should not be construed as professional or financial advice of any kind. Advice from a suitably qualified professional should always be sought in relation to any particular matter or circumstance. The information herein may link to or integrate with other websites operated or content provided by third parties, and such other websites may link to this website. Tanssi Foundation has no control over any such other websites or their content and will have no liability arising out of or related to such websites or their content. The existence of any such link does not constitute an endorsement of such websites, the content of the websites, or the operators of the websites. These links are being provided to you only as a convenience and you release and hold Tanssi Foundation harmless from any and all liability arising from your use of this information or the information provided by any third-party website or service.",
5+
"error.404_title": "404 – Not found",
6+
"external_link_modal.cancel": "Cancel",
7+
"external_link_modal.continue": "Continue to External Site",
8+
"external_link_modal.header": "You're Leaving the Tanssi Documentation Website",
9+
"external_link_modal.message": "A new tab will open and you'll be sent to an independent, third-party website that is not affiliated with Tanssi.",
10+
"feedback.ratings.helpful.name": "This page was helpful",
11+
"feedback.ratings.helpful.note": "Thanks for your feedback!",
12+
"feedback.ratings.unhelpful.name": "This page could be improved",
13+
"feedback.ratings.unhelpful.note": "Thanks for your feedback! Help us improve this page by submitting <a href=\"https://github.com/moondance-labs/tanssi-docs/issues/new/?title=[Feedback]+{title}+-+{url}\" target=\"_blank\" rel=\"noopener\">additional feedback</a>.",
14+
"feedback.title": "Was this page helpful?",
15+
"footer.llms_full_label": "llms-full.txt",
16+
"footer.made_with_html": "Made with 🩵 by <a href=\"https://papermoon.io/\" target=\"_blank\">PaperMoon</a>",
17+
"footer.material_attribution_html": "Made with <a href=\"https://squidfunk.github.io/mkdocs-material/\" target=\"_blank\" rel=\"noopener\">Material for MkDocs</a>",
18+
"footer.privacy_policy": "Privacy Policy",
19+
"footer.terms_of_use": "Terms of Use",
20+
"home.community.buttons.discord": "Join Discord",
21+
"home.community.buttons.subscribe": "Subscribe",
22+
"home.community.heading.accent": "Dev",
23+
"home.community.heading.prefix": "Join the Tanssi",
24+
"home.community.heading.suffix": "Community",
25+
"home.feature.cards.one.arrow_alt": "Navigate to the Apply for a Grant page",
26+
"home.feature.cards.one.badge": "Ecosystem",
27+
"home.feature.cards.one.title": "Apply for a Grant",
28+
"home.feature.cards.three.arrow_alt": "Navigate to the Ecosystem Updates page",
29+
"home.feature.cards.three.badge": "Industry Insights",
30+
"home.feature.cards.three.title": "Ecosystem Updates",
31+
"home.feature.cards.two.arrow_alt": "Navigate to the TestNet page",
32+
"home.feature.cards.two.badge": "Start Building",
33+
"home.feature.cards.two.title": "Visit the TestNet",
34+
"home.feature.description": "Explore more ways to engage with the Tanssi ecosystem—access funding, resources, and visibility for your project.",
35+
"home.feature.heading.accent": "Builders",
36+
"home.feature.heading.prefix": "The One Stop-Hub For Tanssi",
37+
"home.feature.heading.suffix": "",
38+
"home.feature.separator_alt": "Multicolor decorative design of Tanssi",
39+
"home.hero.cards.evm.button": "Learn More",
40+
"home.hero.cards.evm.description": "Leverage popular EVM tools to accelerate your development.",
41+
"home.hero.cards.evm.title": "Develop using EVM Tools",
42+
"home.hero.cards.launch.button": "Get Started",
43+
"home.hero.cards.launch.description": "Get tools and guides to launch your network in minutes.",
44+
"home.hero.cards.launch.title": "Launch a Tanssi-Powered Network",
45+
"home.hero.cards.learn.button": "Learn More",
46+
"home.hero.cards.learn.description": "Learn Tanssi's features, services, and security via Symbiotic.",
47+
"home.hero.cards.learn.title": "Explore Technical Concepts",
48+
"home.hero.subtitle": "Build, launch, and scale Symbiotic Networks faster with Tanssi's infrastructure, tools, and integrations.",
49+
"home.hero.title_html": "Tanssi <span class=\"shadow\">&lt;Dev&gt;</span> Site",
50+
"home.hero.video_fallback": "Your browser does not support the video tag.",
51+
"home.meta.title": "Tanssi Docs",
52+
"meta.home_title": "Documentation for the Tanssi Network"
53+
}

0 commit comments

Comments
 (0)