Skip to content

Commit

Permalink
📝 Small touches to the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lukacan committed May 23, 2024
1 parent 328e8b5 commit 5cd0f0f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 27 deletions.
2 changes: 1 addition & 1 deletion documentation/docs/overrides/partials/copyright.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="md-copyright">
<span><a href="https://github.com/Ackee-Blockchain/trident">{{ config.site_name }}</a> is developed by <a
href="https://ackeeblockchain.com" target="_blank">Ackee Blockchain</a></span>
href="https://ackee.xyz/" target="_blank">Ackee</a></span>
</div>
17 changes: 0 additions & 17 deletions documentation/docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:[email protected]&display=swap');


.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-typeset h4,
.md-typeset h5,
.md-typeset h6 {
font-family: 'Inter', serif;
}

/*
update colour of comments in code block
source:
Expand All @@ -19,11 +7,6 @@
--md-code-hl-comment-color: #09902d;
}

/* Update font of basic text*/
body {
font-family: 'Inter', serif;
}

/*
rotate hue so that the image will be modified based on the background
*/
Expand Down
19 changes: 10 additions & 9 deletions documentation/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,17 @@ theme:
logo: 'images/logo.png'
favicon: 'images/favicon.ico'
custom_dir: docs/overrides
font:
text: Inter
# https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/?h=palette+sw#color-palette-toggle
palette:
# Palette toggle for light mode
- scheme: default # light mode scheme
primary: black
toggle:
icon: material/lightbulb
name: Switch to dark mode
# Palette toggle for dark mode
- scheme: slate # dark mode scheme
primary: black
toggle:
Expand All @@ -68,24 +72,26 @@ theme:
- navigation.tabs
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-expansion
- navigation.expand
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-sections
- navigation.sections
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#back-to-top-button
- navigation.top
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#section-index-pages
- navigation.indexes
# https://squidfunk.github.io/mkdocs-material/reference/code-blocks/?h=content+copy#code-copy-button
- content.code.copy
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-sections
- navigation.sections
# may be used
# - navigation.footer

# https://squidfunk.github.io/mkdocs-material/setup/setting-up-the-footer/?h=social#social-links
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/Ackee-Blockchain/trident
- icon: fontawesome/brands/discord
link: https://discord.gg/x7qXXnGCsa
link: https://discord.gg/urRbxVcMrB
- icon: fontawesome/brands/twitter
link: https://twitter.com/ackeeblockchain
link: https://x.com/TridentSolana
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-versioning/
version:
provider: mike
Expand Down Expand Up @@ -117,11 +123,6 @@ markdown_extensions:
- pymdownx.superfences
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format

exclude_docs: |
requirements.txt.

0 comments on commit 5cd0f0f

Please sign in to comment.