1+ # ============================================================================
2+ #
3+ # The configuration produced by default is meant to highlight the features
4+ # that Zensical provides and to serve as a starting point for your own
5+ # projects.
6+ #
7+ # ============================================================================
8+
9+ [project ]
10+
11+ # The site_name is shown in the page header and the browser window title
12+ #
13+ # Read more: https://zensical.org/docs/setup/basics/#site_name
14+ site_name = " Security Resource Guide"
15+
16+ # The site_description is included in the HTML head and should contain a
17+ # meaningful description of the site content for use by search engines.
18+ #
19+ # Read more: https://zensical.org/docs/setup/basics/#site_description
20+ site_description = " Security–related materials, training materials, and procedures"
21+
22+ # The site_author attribute. This is used in the HTML head element.
23+ #
24+ # Read more: https://zensical.org/docs/setup/basics/#site_author
25+ site_author = " Open Culture Foundation, OCF"
26+
27+ # The site_url is the canonical URL for your site. When building online
28+ # documentation you should set this.
29+ # Read more: https://zensical.org/docs/setup/basics/#site_url
30+ site_url = " https://security.ocf.tw/en/"
31+
32+ # The copyright notice appears in the page footer and can contain an HTML
33+ # fragment.
34+ #
35+ # Read more: https://zensical.org/docs/setup/basics/#copyright
36+ copyright = """
37+ CC-BY 4.0 | Open Culture Foundation, OCF(財團法人開放文化基金會)
38+ """
39+
40+ docs_dir = " en"
41+ site_dir = " site/en"
42+
43+ # Zensical supports both implicit navigation and explicitly defined navigation.
44+ # If you decide not to define a navigation here then Zensical will simply
45+ # derive the navigation structure from the directory structure of your
46+ # "docs_dir". The definition below demonstrates how a navigation structure
47+ # can be defined using TOML syntax.
48+ #
49+ # Read more: https://zensical.org/docs/setup/navigation/
50+ # nav = [
51+ # { "Get started" = "index.md" },
52+ # { "Markdown in 5min" = "markdown.md" },
53+ # ]
54+ nav = [
55+ {"Training Resources" = [
56+ " material/ssd.md" ,
57+ " material/digitalsecurityhandbook.md" ,
58+ " material/cscs.md" ,
59+ " material/privacy-guides.md" ,
60+ ]},
61+ {"Cybersecurity Protection" = [
62+ " network/cloudflare.md" ,
63+ " network/helix.md"
64+ ]},
65+ {"Emergency Reporting" = [
66+ " help-desk/help-desk.md"
67+ ]},
68+ ]
69+
70+ # With the "extra_css" option you can add your own CSS styling to customize
71+ # your Zensical project according to your needs. You can add any number of
72+ # CSS files.
73+ #
74+ # The path provided should be relative to the "docs_dir".
75+ #
76+ # Read more: https://zensical.org/docs/customization/#additional-css
77+ #
78+ extra_css = [" assets/stylesheets/extra.css" ]
79+
80+ # With the `extra_javascript` option you can add your own JavaScript to your
81+ # project to customize the behavior according to your needs.
82+ #
83+ # The path provided should be relative to the "docs_dir".
84+ #
85+ # Read more: https://zensical.org/docs/customization/#additional-javascript
86+ # extra_javascript = ["assets/javascript/extra.js"]
87+
88+ # ----------------------------------------------------------------------------
89+ # Section for configuring theme options
90+ # ----------------------------------------------------------------------------
91+ [project .theme ]
92+
93+ # change this to "classic" to use the traditional Material for MkDocs look.
94+ # variant = "classic"
95+
96+ # Zensical allows you to override specific blocks, partials, or whole
97+ # templates as well as to define your own templates. To do this, uncomment
98+ # the custom_dir setting below and set it to a directory in which you
99+ # keep your template overrides.
100+ #
101+ # Read more:
102+ # - https://zensical.org/docs/customization/#extending-the-theme
103+ #
104+ # custom_dir = "overrides"
105+
106+ # With the "favicon" option you can set your own image to use as the icon
107+ # browsers will use in the browser title bar or tab bar. The path provided
108+ # must be relative to the "docs_dir".
109+ #
110+ # Read more:
111+ # - https://zensical.org/docs/setup/logo-and-icons/#favicon
112+ # - https://developer.mozilla.org/en-US/docs/Glossary/Favicon
113+ #
114+ # favicon = "assets/images/favicon.png"
115+
116+ # Zensical supports more than 60 different languages. This means that the
117+ # labels and tooltips that Zensical's templates produce are translated.
118+ # The "language" option allows you to set the language used. This language
119+ # is also indicated in the HTML head element to help with accessibility
120+ # and guide search engines and translation tools.
121+ #
122+ # The default language is "en" (English). It is possible to create
123+ # sites with multiple languages and configure a language selector. See
124+ # the documentation for details.
125+ #
126+ # Read more:
127+ # - https://zensical.org/docs/setup/language/
128+ #
129+ language = " en"
130+
131+ # Zensical provides a number of feature toggles that change the behavior
132+ # of the documentation site.
133+ features = [
134+ # Zensical includes an announcement bar. This feature allows users to
135+ # dismiss it then they have read the announcement.
136+ # https://zensical.org/docs/setup/header/#announcement-bar
137+ " announce.dismiss" ,
138+
139+ # If you have a repository configured and turn feature this on, Zensical
140+ # will generate an edit button for the page. This works for common
141+ # repository hosting services.
142+ # https://zensical.org/docs/setup/repository/#code-actions
143+ # "content.action.edit",
144+
145+ # If you have a repository configured and turn feature this on, Zensical
146+ # will generate a button that allows the user to view the Markdown
147+ # code for the current page.
148+ # https://zensical.org/docs/setup/repository/#code-actions
149+ # "content.action.view",
150+
151+ # Code annotations allow you to add an icon with a tooltip to your
152+ # code blocks to provide explanations at crucial points.
153+ # https://zensical.org/docs/authoring/code-blocks/#code-annotations
154+ " content.code.annotate" ,
155+
156+ # This feature turns on a button in code blocks that allow users to
157+ # copy the content to their clipboard without first selecting it.
158+ # https://zensical.org/docs/authoring/code-blocks/#code-copy-button
159+ " content.code.copy" ,
160+
161+ # Code blocks can include a button to allow for the selection of line
162+ # ranges by the user.
163+ # https://zensical.org/docs/authoring/code-blocks/#code-selection-button
164+ " content.code.select" ,
165+
166+ # Zensical can render footnotes as inline tooltips, so the user can read
167+ # the footnote without leaving the context of the document.
168+ # https://zensical.org/docs/authoring/footnotes/#footnote-tooltips
169+ " content.footnote.tooltips" ,
170+
171+ # If you have many content tabs that have the same titles (e.g., "Python",
172+ # "JavaScript", "Cobol"), this feature causes all of them to switch to
173+ # at the same time when the user chooses their language in one.
174+ # https://zensical.org/docs/authoring/content-tabs/#linked-content-tabs
175+ " content.tabs.link" ,
176+
177+ # TODO: not sure I understand this one? Is there a demo of this in the docs?
178+ # https://zensical.org/docs/authoring/tooltips/#improved-tooltips
179+ " content.tooltips" ,
180+
181+ # With this feature enabled, Zensical will automatically hide parts
182+ # of the header when the user scrolls past a certain point.
183+ # https://zensical.org/docs/setup/header/#automatic-hiding
184+ # "header.autohide",
185+
186+ # Turn on this feature to expand all collapsible sections in the
187+ # navigation sidebar by default.
188+ # https://zensical.org/docs/setup/navigation/#navigation-expansion
189+ # "navigation.expand",
190+
191+ # This feature turns on navigation elements in the footer that allow the
192+ # user to navigate to a next or previous page.
193+ # https://zensical.org/docs/setup/footer/#navigation
194+ " navigation.footer" ,
195+
196+ # When section index pages are enabled, documents can be directly attached
197+ # to sections, which is particularly useful for providing overview pages.
198+ # https://zensical.org/docs/setup/navigation/#section-index-pages
199+ " navigation.indexes" ,
200+
201+ # When instant navigation is enabled, clicks on all internal links will be
202+ # intercepted and dispatched via XHR without fully reloading the page.
203+ # https://zensical.org/docs/setup/navigation/#instant-navigation
204+ " navigation.instant" ,
205+
206+ # With instant prefetching, your site will start to fetch a page once the
207+ # user hovers over a link. This will reduce the perceived loading time
208+ # for the user.
209+ # https://zensical.org/docs/setup/navigation/#instant-prefetching
210+ " navigation.instant.prefetch" ,
211+
212+ # In order to provide a better user experience on slow connections when
213+ # using instant navigation, a progress indicator can be enabled.
214+ # https://zensical.org/docs/setup/navigation/#progress-indicator
215+ # "navigation.instant.progress"
216+
217+ # When navigation paths are activated, a breadcrumb navigation is rendered
218+ # above the title of each page
219+ # https://zensical.org/docs/setup/navigation/#navigation-path
220+ " navigation.path" ,
221+
222+ # When pruning is enabled, only the visible navigation items are included
223+ # in the rendered HTML, reducing the size of the built site by 33% or more.
224+ # https://zensical.org/docs/setup/navigation/#navigation-pruning
225+ # "navigation.prune",
226+
227+ # When sections are enabled, top-level sections are rendered as groups in
228+ # the sidebar for viewports above 1220px, but remain as-is on mobile.
229+ # https://zensical.org/docs/setup/navigation/#navigation-sections
230+ " navigation.sections" ,
231+
232+ # When tabs are enabled, top-level sections are rendered in a menu layer
233+ # below the header for viewports above 1220px, but remain as-is on mobile.
234+ # https://zensical.org/docs/setup/navigation/#navigation-tabs
235+ # "navigation.tabs",
236+
237+ # When sticky tabs are enabled, navigation tabs will lock below the header
238+ # and always remain visible when scrolling down.
239+ # https://zensical.org/docs/setup/navigation/#sticky-navigation-tabs
240+ # "navigation.tabs.sticky",
241+
242+ # A back-to-top button can be shown when the user, after scrolling down,
243+ # starts to scroll up again.
244+ # https://zensical.org/docs/setup/navigation/#back-to-top-button
245+ " navigation.top" ,
246+
247+ # When anchor tracking is enabled, the URL in the address bar is
248+ # automatically updated with the active anchor as highlighted in the table
249+ # of contents.
250+ # https://zensical.org/docs/setup/navigation/#anchor-tracking
251+ " navigation.tracking" ,
252+
253+ # When search highlighting is enabled and a user clicks on a search result,
254+ # Zensical will highlight all occurrences after following the link.
255+ # https://zensical.org/docs/setup/search/#search-highlighting
256+ " search.highlight" ,
257+
258+ # When anchor following for the table of contents is enabled, the sidebar
259+ # is automatically scrolled so that the active anchor is always visible.
260+ # https://zensical.org/docs/setup/navigation/#anchor-following
261+ # "toc.follow"
262+
263+ # When navigation integration for the table of contents is enabled, it is
264+ # always rendered as part of the navigation sidebar on the left.
265+ # https://zensical.org/docs/setup/navigation/#navigation-integration
266+ # "toc.integrate"
267+ ]
268+
269+ # ----------------------------------------------------------------------------
270+ # In the "palette" subsection you can configure options for the color scheme.
271+ # You can configure different color # schemes, e.g., to turn on dark mode,
272+ # that the user can switch between. Each color scheme can be further
273+ # customized.
274+ #
275+ # Read more:
276+ # - https://zensical.org/docs/setup/colors/
277+ # ----------------------------------------------------------------------------
278+ [[project .theme .palette ]]
279+ scheme = " default"
280+ toggle.icon = " lucide/sun"
281+ toggle.name = " Switch to dark mode"
282+
283+ [[project .theme .palette ]]
284+ scheme = " slate"
285+ toggle.icon = " lucide/moon"
286+ toggle.name = " Switch to light mode"
287+
288+ # ----------------------------------------------------------------------------
289+ # In the "font" subsection you can configure the fonts used. By default, fonts
290+ # are loaded from Google Fonts, giving you a wide range of choices from a set
291+ # of suitably licensed fonts. There are options for a normal text font and for
292+ # a monospaced font used in code blocks.
293+ # ----------------------------------------------------------------------------
294+ # [project.theme.font]
295+ # text = "Inter"
296+ # code = "Jetbrains Mono"
297+
298+ # ----------------------------------------------------------------------------
299+ # You can configure your own logo to be shown in the header using the "logo"
300+ # option in the "icons" subsection. The logo can be a path to a file in your
301+ # "docs_dir" or it can be a path to an icon.
302+ #
303+ # Likewise, you can customize the logo used for the repository section of the
304+ # header. Zensical derives the default logo for this from the repository URL.
305+ # See below...
306+ #
307+ # There are other icons you can customize. See the documentation for details.
308+ #
309+ # Read more:
310+ # - https://zensical.org/docs/setup/logo-and-icons
311+ # - https://zensical.org/docs/authoring/icons-emojis/#search
312+ # ----------------------------------------------------------------------------
313+ # [project.theme.icon]
314+ # logo = "lucide/smile"
315+ # repo = "lucide/smile"
316+
317+ # ----------------------------------------------------------------------------
318+ # The "extra" section contains miscellaneous settings.
319+ # ----------------------------------------------------------------------------
320+ # [[project.extra.social]]
321+ # icon = "fontawesome/brands/github"
322+ # link = "https://github.com/user/repo"
323+
324+ [project .extra ]
325+ alternate = [
326+ { name = " English(en-us)" , link = " /en/" , lang = " en" },
327+ { name = " 正體中文(zh-TW)" , link = " /" , lang = " zh-TW" }
328+ ]
329+
330+ [project .extra .analytics ]
331+ provider = " google"
332+ property = " G-CFKVL29PQR"
0 commit comments