|
| 1 | +# Generated by `zensical new` 0.0.63, then adapted. Reference: https://zensical.org/docs/setup/basics/ |
| 2 | +[project] |
| 3 | +site_url = "https://openjavaformat.dev/" |
| 4 | +site_name = "open-java-format" |
| 5 | +site_description = "A modern, lambda-friendly, 120-character Java formatter, built in the open." |
| 6 | +# site_author = "Your name" |
| 7 | + |
| 8 | +# copyright = "Copyright © 2026 Your name" |
| 9 | + |
| 10 | +# The header links to the formatter, while "Edit this page" must open this site's own sources. |
| 11 | +# An absolute edit_uri is the documented way to split the two: |
| 12 | +# https://zensical.org/docs/setup/repository/#edit_uri |
| 13 | +repo_url = "https://github.com/openjavaformat/open-java-format" |
| 14 | +repo_name = "openjavaformat/open-java-format" |
| 15 | +edit_uri = "https://github.com/openjavaformat/docs/edit/main/docs/" |
| 16 | + |
| 17 | +nav = [ |
| 18 | + { "Home" = "index.md" }, |
| 19 | +] |
| 20 | + |
| 21 | +# extra_css = ["stylesheets/extra.css"] |
| 22 | +# extra_javascript = ["javascripts/extra.js"] |
| 23 | + |
| 24 | +[project.theme] |
| 25 | +# variant = "classic" |
| 26 | +custom_dir = "overrides" |
| 27 | +favicon = "assets/favicon.svg" |
| 28 | +language = "en" |
| 29 | +# System fonts only, so that a page view makes no request to Google Fonts. |
| 30 | +# https://zensical.org/docs/setup/fonts/#autoloading |
| 31 | +font = false |
| 32 | +features = [ |
| 33 | + "announce.dismiss", |
| 34 | + "content.action.edit", |
| 35 | + "content.action.view", |
| 36 | + "content.code.annotate", |
| 37 | + "content.code.copy", |
| 38 | + "content.code.select", |
| 39 | + "content.footnote.tooltips", |
| 40 | + "content.tabs.link", |
| 41 | + "content.tooltips", |
| 42 | + # "header.autohide", |
| 43 | + # "navigation.expand", |
| 44 | + "navigation.footer", |
| 45 | + "navigation.indexes", |
| 46 | + "navigation.instant", |
| 47 | + "navigation.instant.prefetch", |
| 48 | + # "navigation.instant.progress", |
| 49 | + "navigation.path", |
| 50 | + # "navigation.prune", |
| 51 | + "navigation.sections", |
| 52 | + # "navigation.tabs", |
| 53 | + # "navigation.tabs.sticky", |
| 54 | + "navigation.top", |
| 55 | + "navigation.tracking", |
| 56 | + "search.highlight", |
| 57 | + # "toc.follow", |
| 58 | + # "toc.integrate", |
| 59 | +] |
| 60 | + |
| 61 | +# logo = "assets/logo.png" |
| 62 | + |
| 63 | +# The project mark, inlined from overrides/.icons so it inherits the header colour in both schemes. |
| 64 | +# https://zensical.org/docs/setup/logo-and-icons/#additional-icons |
| 65 | +[project.theme.icon] |
| 66 | +logo = "ojf/logo" |
| 67 | +repo = "fontawesome/brands/github" |
| 68 | + |
| 69 | +[[project.theme.palette]] |
| 70 | +media = "(prefers-color-scheme)" |
| 71 | +toggle.icon = "lucide/sun-moon" |
| 72 | +toggle.name = "Switch to light mode" |
| 73 | + |
| 74 | +[[project.theme.palette]] |
| 75 | +media = "(prefers-color-scheme: light)" |
| 76 | +scheme = "default" |
| 77 | +toggle.icon = "lucide/sun" |
| 78 | +toggle.name = "Switch to dark mode" |
| 79 | + |
| 80 | +[[project.theme.palette]] |
| 81 | +media = "(prefers-color-scheme: dark)" |
| 82 | +scheme = "slate" |
| 83 | +toggle.icon = "lucide/moon" |
| 84 | +toggle.name = "Switch to system preference" |
| 85 | + |
| 86 | +# [[project.extra.social]] |
| 87 | +# icon = "fontawesome/brands/github" |
| 88 | +# link = "https://github.com/user/repo" |
| 89 | + |
| 90 | +# [[project.extra.social]] |
| 91 | +# icon = "fontawesome/brands/mastodon" |
| 92 | +# link = "https://fosstodon.org/@user" |
| 93 | + |
| 94 | +[project.markdown_extensions] |
| 95 | +abbr = {} |
| 96 | +admonition = {} |
| 97 | +attr_list = {} |
| 98 | +def_list = {} |
| 99 | +footnotes = {} |
| 100 | +md_in_html = {} |
| 101 | +toc.permalink = true |
| 102 | +pymdownx.arithmatex.generic = true |
| 103 | +pymdownx.betterem = {} |
| 104 | +pymdownx.caret = {} |
| 105 | +pymdownx.details = {} |
| 106 | +pymdownx.emoji.emoji_generator = "zensical.extensions.emoji.to_svg" |
| 107 | +pymdownx.emoji.emoji_index = "zensical.extensions.emoji.twemoji" |
| 108 | +pymdownx.highlight.anchor_linenums = true |
| 109 | +pymdownx.highlight.line_spans = "__span" |
| 110 | +pymdownx.highlight.pygments_lang_class = true |
| 111 | +pymdownx.inlinehilite = {} |
| 112 | +pymdownx.keys = {} |
| 113 | +pymdownx.magiclink = {} |
| 114 | +pymdownx.mark = {} |
| 115 | +pymdownx.smartsymbols = {} |
| 116 | +# pymdownx.snippets.base_path = "includes" |
| 117 | +pymdownx.superfences.custom_fences = [ |
| 118 | + { name = "mermaid", class = "mermaid", format = "pymdownx.superfences.fence_code_format" }, |
| 119 | +] |
| 120 | +pymdownx.tabbed.alternate_style = true |
| 121 | +pymdownx.tabbed.combine_header_slug = true |
| 122 | +pymdownx.tasklist.custom_checkbox = true |
| 123 | +pymdownx.tilde = {} |
0 commit comments