Skip to content

Commit

Permalink
refactor: Update estudar.md and trilhas.md links to use relative paths
Browse files Browse the repository at this point in the history
  • Loading branch information
endersonmenezes committed Apr 24, 2024
1 parent 7d61de4 commit a18b2aa
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/quero/estudar.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ Nossos alunos podem tirar dúvidas a qualquer momento em nosso canal do Discord,

Estude `Python` de forma autônoma e acesse nosso discord caso precise de ajuda!

[:octicons-arrow-right-24: Começar](../trilhas/)
[:octicons-arrow-right-24: Começar](../trilhas.md)

- :fontawesome-brands-github:{ .lg .middle } __GitHub__

---

Se possui dúvidas, pode começar com a Trilha de `GitHub` e depois veja as outras.

[:octicons-arrow-right-24: Começar](../trilhas/)
[:octicons-arrow-right-24: Começar](../trilhas.md)

</div>

Expand Down
4 changes: 2 additions & 2 deletions docs/trilhas.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ A Codaqui é uma instituição educacional inovadora que adota a metodologia Git

Estude `Python` de forma autônoma e acesse nosso discord caso precise de ajuda!

[:octicons-arrow-right-24: Começar](/google-colab/python-101/)
[:octicons-arrow-right-24: Começar](trilhas/python/index.md)

- :fontawesome-brands-github:{ .lg .middle } __GitHub 101__

---

Se possui dúvidas, pode começar com a Trilha de `GitHub` e depois veja as outras.

[:octicons-arrow-right-24: Começar](/google-colab/github-101/)
[:octicons-arrow-right-24: Começar](trilhas/github/index.md)

- ::material-office-building-cog:{ .lg .middle } __Construção__

Expand Down
43 changes: 43 additions & 0 deletions overrides/partials/tabs.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!--
Copyright (c) 2016-2024 Martin Donath <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
-->

{% import "partials/tabs-item.html" as item with context %}

<!-- Navigation tabs -->
<nav
class="md-tabs"
aria-label="{{ lang.t('tabs') }}"
data-md-component="tabs"
>
<div class="md-grid">
<ul class="md-tabs__list">
<!-- Ignore if nav_item.title ~ "Trilhas: "-->
{% for nav_item in nav %}
{% if nav_item.title.split(":")[0] == "Trilha" %}
{{ pass }}
{% else %}
{{ item.render(nav_item) }}
{% endif %}
{% endfor %}
</ul>
</div>
</nav>

0 comments on commit a18b2aa

Please sign in to comment.