Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

theme: switch from adidoks to bluetheme #6

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "themes/adidoks"]
path = themes/adidoks
url = https://github.com/ES-Alexander/adidoks
[submodule "themes/bluetheme"]
path = themes/bluetheme
url = https://github.com/bluerobotics/bluetheme
50 changes: 9 additions & 41 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ base_url = "https://blueos.cloud/cockpit/docs/latest"
title = "Cockpit latest"

# The site theme to use.
theme = "adidoks"
theme = "bluetheme"

# The default language; used in feeds and search index
default_language="en"
Expand All @@ -29,45 +29,13 @@ include_content = true
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
highlight_code = true

[extra]
ahrefs_verification_code = "68b21d8843bcc0ce30035c553ab9c2ac579c8ebfb8698573ea4f96f49ae00517"
[extra.logo]
image_source = "https://blueos.cloud/assets/img/cockpit-logo-white.png"

# Put all your custom variables here
github = "https://github.com/bluerobotics"
[[extra.license]]
name = "AGPLv3"
url = "https://github.com/bluerobotics/Cockpit?tab=AGPL-3.0-3-ov-file"

# Set HTML file language
language_code = "en-US"

# Set theme-color meta tag for Chrome browser
theme_color = "#fff"

# Edit page on reposity or not
edit_page = true
docs_repo = "https://github.com/bluerobotics/Cockpit-docs"
repo_branch = "main"

## Math settings
# options: true, false. Enable math support globally,
# default: false. You can always enable math on a per page.
math = false
library = "katex" # options: "katex", "mathjax". default is "katex".

[[extra.menu.social]]
name = "GitHub"
pre = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-github"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path></svg>'
url = "https://github.com/bluerobotics/ardusub-zola"
# post = "v0.1.0"
weight = 20

# Avoid "Docs" and "Blog" links in header
[[extra.menu.main]]
name = ""
url = ""
section = ""

# Footer contents
[extra.footer]
info = 'Powered by <a href="https://www.getzola.org/">Zola</a> and <a href="https://github.com/ES-Alexander/adidoks">AdiDoks</a>. Sponsored by <a href="http://www.bluerobotics.com/">Blue Robotics</a>.'

[extra.footer.nav]
info = 'Code under <a href="https://github.com/ArduPilot/ardupilot/blob/master/COPYING.txt">GPLv3 License</a>. Documentation under <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC-NC-SA 4.0</a>.'
[[extra.license]]
name = "Cockpit Custom"
url = "https://github.com/bluerobotics/Cockpit?tab=License-2-ov-file"
4 changes: 2 additions & 2 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = "Docs"
description = "Cockpit documentation."
title = "Cockpit Documentation"
description = "Documentation for the Cockpit vehicle control station software."
sort_by = "weight"
weight = 1
template = "docs/section.html"
Expand Down
51 changes: 0 additions & 51 deletions templates/docs/overview-section.html

This file was deleted.

31 changes: 0 additions & 31 deletions templates/docs/page.html

This file was deleted.

52 changes: 0 additions & 52 deletions templates/docs/section.html

This file was deleted.

24 changes: 0 additions & 24 deletions templates/macros/footer.html

This file was deleted.

5 changes: 0 additions & 5 deletions templates/shortcodes/easy_image.md

This file was deleted.

36 changes: 0 additions & 36 deletions templates/shortcodes/mermaid.html

This file was deleted.

1 change: 0 additions & 1 deletion templates/shortcodes/note.md

This file was deleted.

5 changes: 0 additions & 5 deletions templates/shortcodes/pirate.md

This file was deleted.

7 changes: 0 additions & 7 deletions templates/shortcodes/service.md

This file was deleted.

5 changes: 0 additions & 5 deletions templates/shortcodes/simple.md

This file was deleted.

11 changes: 0 additions & 11 deletions templates/shortcodes/simple_pirate_image.md

This file was deleted.

1 change: 0 additions & 1 deletion templates/shortcodes/warning.md

This file was deleted.

1 change: 0 additions & 1 deletion themes/adidoks
Submodule adidoks deleted from 602b99
1 change: 1 addition & 0 deletions themes/bluetheme
Submodule bluetheme added at d0e08a
Loading