├── themes
└── zdoc
│ ├── layouts
│ ├── robots.txt
│ ├── shortcodes
│ │ ├── box.html
│ │ ├── boxmd.html
│ │ ├── color.html
│ │ ├── tab.html
│ │ ├── code.html
│ │ ├── notice.html
│ │ ├── alert.html
│ │ ├── expand.html
│ │ ├── tabs.html
│ │ ├── img.html
│ │ └── codes.html
│ ├── 404.html
│ ├── partials
│ │ ├── comments
│ │ │ ├── commento.html
│ │ │ ├── isso.html
│ │ │ ├── livere.html
│ │ │ ├── gitalk.html
│ │ │ ├── disqus.html
│ │ │ ├── comments.html
│ │ │ ├── valine.html
│ │ │ ├── gitment.html
│ │ │ ├── changyan.html
│ │ │ └── utterances.html
│ │ ├── head
│ │ │ ├── services.html
│ │ │ ├── styles.html
│ │ │ └── meta_json_ld.html
│ │ ├── header
│ │ │ ├── custom-header.html
│ │ │ ├── blog-header.html
│ │ │ ├── site-header.html
│ │ │ ├── blog-header-text.html
│ │ │ └── blog-header-img.html
│ │ ├── navbar
│ │ │ ├── menu
│ │ │ │ ├── navbar-menu-collapse.html
│ │ │ │ ├── navbar-menu-mobile.html
│ │ │ │ └── navbar-menu.html
│ │ │ ├── logo
│ │ │ │ ├── navbar-logo-mobile.html
│ │ │ │ ├── navbar-logo-tablet.html
│ │ │ │ └── navbar-logo.html
│ │ │ ├── icons
│ │ │ │ ├── navbar-icons.html
│ │ │ │ ├── light-dark-toggle.html
│ │ │ │ └── select-lang.html
│ │ │ └── search
│ │ │ │ ├── site-search.html
│ │ │ │ └── site-search-mobile.html
│ │ ├── main
│ │ │ ├── component
│ │ │ │ ├── toc.html
│ │ │ │ ├── edit-this-page.html
│ │ │ │ ├── article-meta.html
│ │ │ │ ├── tag-cloud.html
│ │ │ │ ├── breadcrumb.html
│ │ │ │ ├── pagination.html
│ │ │ │ ├── toggle-sidebar.html
│ │ │ │ ├── toggle-menu.html
│ │ │ │ └── pagination-single.html
│ │ │ ├── home.html
│ │ │ ├── landing
│ │ │ │ ├── home-social.html
│ │ │ │ └── home-sections.html
│ │ │ ├── sections
│ │ │ │ ├── list-section.html
│ │ │ │ └── list-main.html
│ │ │ └── header.html
│ │ ├── svgs
│ │ │ ├── arrow-down.svg
│ │ │ ├── arrow-left.svg
│ │ │ ├── arrow-right.svg
│ │ │ ├── calendar.svg
│ │ │ ├── light-mode.svg
│ │ │ ├── home.svg
│ │ │ ├── menu.svg
│ │ │ ├── arrow-back.svg
│ │ │ ├── arrow-forward.svg
│ │ │ ├── edit.svg
│ │ │ ├── dark-mode.svg
│ │ │ ├── cancel.svg
│ │ │ ├── invert-colors.svg
│ │ │ ├── close.svg
│ │ │ ├── search.svg
│ │ │ ├── time.svg
│ │ │ ├── avatar.svg
│ │ │ ├── github.svg
│ │ │ ├── translate.svg
│ │ │ └── hand-with-pen.svg
│ │ ├── drawer
│ │ │ ├── drawer-section.html
│ │ │ └── drawer.html
│ │ └── footer
│ │ │ └── footer.html
│ ├── _default
│ │ ├── _markup
│ │ │ ├── render-image.html
│ │ │ └── render-link.html
│ │ ├── single.html
│ │ ├── section.html
│ │ ├── sitemap.xml
│ │ ├── baseof.html
│ │ └── summary.html
│ ├── index.html
│ └── index.json
│ ├── data
│ ├── font.toml
│ ├── color.toml
│ ├── flowchartjs.json
│ └── lib.toml
│ ├── images
│ ├── tn.png
│ └── screenshot.png
│ ├── exampleSite
│ ├── static
│ │ ├── logo.png
│ │ ├── favicon
│ │ │ ├── favicon.ico
│ │ │ ├── apple-icon.png
│ │ │ ├── favicon-16x16.png
│ │ │ ├── favicon-32x32.png
│ │ │ ├── favicon-96x96.png
│ │ │ ├── ms-icon-70x70.png
│ │ │ ├── apple-icon-57x57.png
│ │ │ ├── apple-icon-60x60.png
│ │ │ ├── apple-icon-72x72.png
│ │ │ ├── apple-icon-76x76.png
│ │ │ ├── ms-icon-144x144.png
│ │ │ ├── ms-icon-150x150.png
│ │ │ ├── ms-icon-310x310.png
│ │ │ ├── android-icon-36x36.png
│ │ │ ├── android-icon-48x48.png
│ │ │ ├── android-icon-72x72.png
│ │ │ ├── android-icon-96x96.png
│ │ │ ├── apple-icon-114x114.png
│ │ │ ├── apple-icon-120x120.png
│ │ │ ├── apple-icon-144x144.png
│ │ │ ├── apple-icon-152x152.png
│ │ │ ├── apple-icon-180x180.png
│ │ │ ├── android-icon-144x144.png
│ │ │ ├── android-icon-192x192.png
│ │ │ ├── android-icon-512x512.png
│ │ │ └── apple-icon-precomposed.png
│ │ ├── images
│ │ │ ├── landscape.jpg
│ │ │ ├── mountain.jpg
│ │ │ └── mountains.jpg
│ │ └── manifest.json
│ ├── resources
│ │ └── _gen
│ │ │ └── assets
│ │ │ └── scss
│ │ │ └── sass
│ │ │ └── main.scss_b4f67ac5085b89b62b54c1923e5a9145.json
│ ├── content
│ │ ├── en
│ │ │ ├── docs
│ │ │ │ ├── _index.md
│ │ │ │ ├── depth1
│ │ │ │ │ ├── _index.md
│ │ │ │ │ ├── depth2
│ │ │ │ │ │ ├── _index.md
│ │ │ │ │ │ ├── depth3
│ │ │ │ │ │ │ ├── _index.md
│ │ │ │ │ │ │ └── test3.md
│ │ │ │ │ │ └── test2.md
│ │ │ │ │ ├── test1.md
│ │ │ │ │ └── ttttest.md
│ │ │ │ ├── pagebundles.md
│ │ │ │ ├── pageresources.md
│ │ │ │ ├── contentfortmats.md
│ │ │ │ ├── imageprocessing.md
│ │ │ │ ├── relatedcontent.md
│ │ │ │ ├── contentmanagement
│ │ │ │ │ ├── shortcodes.md
│ │ │ │ │ ├── frontmatter.md
│ │ │ │ │ └── _index.md
│ │ │ │ └── gettingstarted
│ │ │ │ │ ├── basicusage.md
│ │ │ │ │ ├── quickstart.md
│ │ │ │ │ ├── _index.md
│ │ │ │ │ ├── configuration.md
│ │ │ │ │ └── installation.md
│ │ │ ├── updates
│ │ │ │ ├── _index.md
│ │ │ │ ├── 2019_april.md
│ │ │ │ ├── 2019_march.md
│ │ │ │ ├── 2019_may.md
│ │ │ │ ├── 2019_january.md
│ │ │ │ └── 2019_february.md
│ │ │ ├── blog
│ │ │ │ ├── _index.md
│ │ │ │ └── rich-content.md
│ │ │ └── _index.md
│ │ └── ko
│ │ │ ├── docs
│ │ │ ├── _index.md
│ │ │ ├── pagebundles.md
│ │ │ ├── pageresources.md
│ │ │ ├── contentfortmats.md
│ │ │ ├── imageprocessing.md
│ │ │ ├── relatedcontent.md
│ │ │ ├── contentmanagement
│ │ │ │ ├── shortcodes.md
│ │ │ │ ├── frontmatter.md
│ │ │ │ └── _index.md
│ │ │ └── gettingstarted
│ │ │ │ ├── basicusage.md
│ │ │ │ ├── quickstart.md
│ │ │ │ ├── _index.md
│ │ │ │ ├── configuration.md
│ │ │ │ └── installation.md
│ │ │ ├── updates
│ │ │ ├── _index.md
│ │ │ ├── 2019_april.md
│ │ │ ├── 2019_march.md
│ │ │ ├── 2019_may.md
│ │ │ ├── 2019_january.md
│ │ │ └── 2019_february.md
│ │ │ ├── blog
│ │ │ ├── _index.md
│ │ │ └── rich-content.md
│ │ │ └── _index.md
│ └── config
│ │ └── _default
│ │ ├── languages.toml
│ │ ├── menus.en.toml
│ │ ├── menus.ko.toml
│ │ └── config.toml
│ ├── static
│ ├── images
│ │ ├── landscape.jpg
│ │ ├── mountain.jpg
│ │ ├── mountains.jpg
│ │ └── section
│ │ │ ├── keyboard.png
│ │ │ ├── processor.png
│ │ │ └── root-server.png
│ ├── fonts
│ │ ├── muli-latin-200.woff
│ │ ├── muli-latin-300.woff
│ │ ├── muli-latin-400.woff
│ │ ├── muli-latin-600.woff
│ │ ├── muli-latin-700.woff
│ │ ├── muli-latin-800.woff
│ │ ├── muli-latin-900.woff
│ │ ├── montserrat-black.woff
│ │ ├── montserrat-bold.woff
│ │ ├── montserrat-bold.woff2
│ │ ├── muli-latin-200.woff2
│ │ ├── muli-latin-300.woff2
│ │ ├── muli-latin-400.woff2
│ │ ├── muli-latin-600.woff2
│ │ ├── muli-latin-700.woff2
│ │ ├── muli-latin-800.woff2
│ │ ├── muli-latin-900.woff2
│ │ ├── montserrat-black.woff2
│ │ ├── montserrat-regular.woff
│ │ ├── montserrat-regular.woff2
│ │ ├── muli-latin-200italic.woff
│ │ ├── muli-latin-200italic.woff2
│ │ ├── muli-latin-300italic.woff
│ │ ├── muli-latin-300italic.woff2
│ │ ├── muli-latin-400italic.woff
│ │ ├── muli-latin-400italic.woff2
│ │ ├── muli-latin-600italic.woff
│ │ ├── muli-latin-600italic.woff2
│ │ ├── muli-latin-700italic.woff
│ │ ├── muli-latin-700italic.woff2
│ │ ├── muli-latin-800italic.woff
│ │ ├── muli-latin-800italic.woff2
│ │ ├── muli-latin-900italic.woff
│ │ └── muli-latin-900italic.woff2
│ └── manifest.json
│ ├── assets
│ ├── sass
│ │ ├── components
│ │ │ ├── _lib.scss
│ │ │ ├── _bgcolor.scss
│ │ │ ├── _modal.scss
│ │ │ ├── _box.scss
│ │ │ ├── _dropdown.scss
│ │ │ ├── _tag.scss
│ │ │ ├── _breadcrumb.scss
│ │ │ ├── _drawer.scss
│ │ │ ├── _language.scss
│ │ │ ├── _codetab.scss
│ │ │ ├── _alert.scss
│ │ │ ├── _switch.scss
│ │ │ ├── _button.scss
│ │ │ ├── _toc.scss
│ │ │ └── _expand.scss
│ │ ├── syntax
│ │ │ └── _syntax.scss
│ │ ├── themes
│ │ │ ├── _theme.scss
│ │ │ ├── _darkcode.scss
│ │ │ ├── _lightcode.scss
│ │ │ ├── _light.scss
│ │ │ └── _dark.scss
│ │ ├── layout
│ │ │ ├── _main.scss
│ │ │ ├── _footer.scss
│ │ │ └── _header.scss
│ │ ├── abstracts
│ │ │ ├── _functions.scss
│ │ │ └── _variables.scss
│ │ ├── pages
│ │ │ ├── _blog.scss
│ │ │ ├── _list.scss
│ │ │ └── _home.scss
│ │ └── base
│ │ │ ├── _animation.scss
│ │ │ ├── _helpers.scss
│ │ │ └── _typography.scss
│ └── js
│ │ └── helper
│ │ ├── prop.js
│ │ ├── next.js
│ │ ├── prev.js
│ │ ├── closest.js
│ │ ├── fadeinout.js
│ │ └── getParents.js
│ ├── archetypes
│ └── default.md
│ ├── i18n
│ ├── ko.toml
│ └── en.toml
│ ├── theme.toml
│ └── LICENSE.md
├── layouts
├── partials
│ ├── header
│ │ └── custom-header.html
│ ├── service
│ │ ├── umami-analytics.html
│ │ └── baidu-analytics.html
│ ├── body
│ │ └── custom-body.html
│ ├── main
│ │ └── component
│ │ │ └── edit-this-page.html
│ ├── comments
│ │ └── disqus-proxy.html
│ ├── navbar
│ │ ├── menu
│ │ │ ├── navbar-menu-mobile.html
│ │ │ └── navbar-menu.html
│ │ ├── logo
│ │ │ └── navbar-logo.html
│ │ └── icons
│ │ │ └── light-dark-toggle.html
│ ├── head
│ │ └── services.html
│ └── footer
│ │ └── footer.html
└── _default
│ └── baseof.html
├── .gitignore
├── static
├── logo.png
├── favicon
│ ├── favicon.ico
│ ├── apple-icon.png
│ ├── favicon-16x16.png
│ ├── favicon-32x32.png
│ ├── favicon-96x96.png
│ ├── ms-icon-144x144.png
│ ├── ms-icon-150x150.png
│ ├── ms-icon-310x310.png
│ ├── ms-icon-70x70.png
│ ├── apple-icon-57x57.png
│ ├── apple-icon-60x60.png
│ ├── apple-icon-72x72.png
│ ├── apple-icon-76x76.png
│ ├── android-icon-144x144.png
│ ├── android-icon-192x192.png
│ ├── android-icon-36x36.png
│ ├── android-icon-48x48.png
│ ├── android-icon-72x72.png
│ ├── android-icon-96x96.png
│ ├── apple-icon-114x114.png
│ ├── apple-icon-120x120.png
│ ├── apple-icon-144x144.png
│ ├── apple-icon-152x152.png
│ ├── apple-icon-180x180.png
│ ├── apple-icon-precomposed.png
│ ├── browserconfig.xml
│ └── manifest.json
├── images
│ ├── mountain.jpg
│ ├── landscape.jpg
│ └── mountains.jpg
├── fontawesome
│ └── webfonts
│ │ ├── fa-solid-900.eot
│ │ ├── fa-solid-900.ttf
│ │ ├── fa-brands-400.eot
│ │ ├── fa-brands-400.ttf
│ │ ├── fa-brands-400.woff
│ │ ├── fa-regular-400.eot
│ │ ├── fa-regular-400.ttf
│ │ ├── fa-solid-900.woff
│ │ ├── fa-solid-900.woff2
│ │ ├── fa-brands-400.woff2
│ │ ├── fa-regular-400.woff
│ │ └── fa-regular-400.woff2
└── manifest.json
├── archetypes
└── default.md
├── resources
└── _gen
│ └── assets
│ ├── scss
│ ├── sass
│ │ └── main.scss_b4f67ac5085b89b62b54c1923e5a9145.json
│ └── envoy-handbook
│ │ └── sass
│ │ └── main.scss_b4f67ac5085b89b62b54c1923e5a9145.json
│ └── css
│ ├── envoy-handbook
│ ├── css
│ │ ├── my.css_b95b077eb505d5c0aff8055eaced30ad.json
│ │ ├── fonts-code.css_b95b077eb505d5c0aff8055eaced30ad.json
│ │ └── my.css_b95b077eb505d5c0aff8055eaced30ad.content
│ └── fontawesome
│ │ └── css
│ │ └── all.css_b95b077eb505d5c0aff8055eaced30ad.json
│ └── fontawesome
│ └── css
│ └── all.css_b95b077eb505d5c0aff8055eaced30ad.json
├── assets
├── fontawesome
│ └── webfonts
│ │ ├── fa-solid-900.eot
│ │ ├── fa-solid-900.ttf
│ │ ├── fa-brands-400.eot
│ │ ├── fa-brands-400.ttf
│ │ ├── fa-brands-400.woff
│ │ ├── fa-regular-400.eot
│ │ ├── fa-regular-400.ttf
│ │ ├── fa-solid-900.woff
│ │ ├── fa-solid-900.woff2
│ │ ├── fa-brands-400.woff2
│ │ ├── fa-regular-400.woff
│ │ └── fa-regular-400.woff2
├── css
│ └── my.css
└── sass
│ ├── themes
│ ├── _solarizedcode.scss
│ ├── _theme.scss
│ └── _darkcode.scss
│ ├── abstracts
│ └── _variables.scss
│ ├── pages
│ └── _home.scss
│ └── components
│ ├── _tab.scss
│ ├── _button.scss
│ └── _expand.scss
├── content
└── zh
│ └── docs
│ ├── _index.md
│ ├── gettingstarted
│ └── _index.md
│ ├── basics
│ └── _index.md
│ ├── practice
│ └── _index.md
│ └── overview
│ ├── _index.md
│ └── sidecar.md
├── data
├── font.toml
└── color.toml
├── config
└── _default
│ ├── menus.zh.toml
│ ├── languages.toml
│ ├── menus.en.toml
│ └── config.toml
├── i18n
└── zh.toml
├── LICENSE
├── toggle-menu.html
└── README.md
/themes/zdoc/layouts/robots.txt:
--------------------------------------------------------------------------------
1 | User-agent: *
--------------------------------------------------------------------------------
/layouts/partials/header/custom-header.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | **/.DS_Store
3 | public/
4 | public.tar.gz
5 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/shortcodes/box.html:
--------------------------------------------------------------------------------
1 |
{{.Inner | markdownify}}
--------------------------------------------------------------------------------
/themes/zdoc/layouts/shortcodes/boxmd.html:
--------------------------------------------------------------------------------
1 | {{ .Inner | markdownify }}
--------------------------------------------------------------------------------
/static/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/logo.png
--------------------------------------------------------------------------------
/themes/zdoc/data/font.toml:
--------------------------------------------------------------------------------
1 | title_font = "\"Montserrat\", sans-serif"
2 | content_font = "\"muli\", sans-serif"
--------------------------------------------------------------------------------
/static/favicon/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/favicon.ico
--------------------------------------------------------------------------------
/static/images/mountain.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/images/mountain.jpg
--------------------------------------------------------------------------------
/themes/zdoc/images/tn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/images/tn.png
--------------------------------------------------------------------------------
/themes/zdoc/layouts/404.html:
--------------------------------------------------------------------------------
1 | {{ define "main" }}
2 |
3 | Page not found
4 |
5 | {{ end }}
--------------------------------------------------------------------------------
/static/favicon/apple-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/apple-icon.png
--------------------------------------------------------------------------------
/static/images/landscape.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/images/landscape.jpg
--------------------------------------------------------------------------------
/static/images/mountains.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/images/mountains.jpg
--------------------------------------------------------------------------------
/themes/zdoc/layouts/shortcodes/color.html:
--------------------------------------------------------------------------------
1 | {{.Inner | markdownify}}
--------------------------------------------------------------------------------
/archetypes/default.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "{{ replace .Name "-" " " | title }}"
3 | date: {{ .Date }}
4 | draft: true
5 | ---
6 |
7 |
--------------------------------------------------------------------------------
/static/favicon/favicon-16x16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/favicon-16x16.png
--------------------------------------------------------------------------------
/static/favicon/favicon-32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/favicon-32x32.png
--------------------------------------------------------------------------------
/static/favicon/favicon-96x96.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/favicon-96x96.png
--------------------------------------------------------------------------------
/static/favicon/ms-icon-144x144.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/ms-icon-144x144.png
--------------------------------------------------------------------------------
/static/favicon/ms-icon-150x150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/ms-icon-150x150.png
--------------------------------------------------------------------------------
/static/favicon/ms-icon-310x310.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/ms-icon-310x310.png
--------------------------------------------------------------------------------
/static/favicon/ms-icon-70x70.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/ms-icon-70x70.png
--------------------------------------------------------------------------------
/themes/zdoc/images/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/images/screenshot.png
--------------------------------------------------------------------------------
/static/favicon/apple-icon-57x57.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/apple-icon-57x57.png
--------------------------------------------------------------------------------
/static/favicon/apple-icon-60x60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/apple-icon-60x60.png
--------------------------------------------------------------------------------
/static/favicon/apple-icon-72x72.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/apple-icon-72x72.png
--------------------------------------------------------------------------------
/static/favicon/apple-icon-76x76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/apple-icon-76x76.png
--------------------------------------------------------------------------------
/resources/_gen/assets/scss/sass/main.scss_b4f67ac5085b89b62b54c1923e5a9145.json:
--------------------------------------------------------------------------------
1 | {"Target":"css/main.min.css","MediaType":"text/css","Data":{}}
--------------------------------------------------------------------------------
/static/favicon/android-icon-144x144.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/android-icon-144x144.png
--------------------------------------------------------------------------------
/static/favicon/android-icon-192x192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/android-icon-192x192.png
--------------------------------------------------------------------------------
/static/favicon/android-icon-36x36.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/android-icon-36x36.png
--------------------------------------------------------------------------------
/static/favicon/android-icon-48x48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/android-icon-48x48.png
--------------------------------------------------------------------------------
/static/favicon/android-icon-72x72.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/android-icon-72x72.png
--------------------------------------------------------------------------------
/static/favicon/android-icon-96x96.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/android-icon-96x96.png
--------------------------------------------------------------------------------
/static/favicon/apple-icon-114x114.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/apple-icon-114x114.png
--------------------------------------------------------------------------------
/static/favicon/apple-icon-120x120.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/apple-icon-120x120.png
--------------------------------------------------------------------------------
/static/favicon/apple-icon-144x144.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/apple-icon-144x144.png
--------------------------------------------------------------------------------
/static/favicon/apple-icon-152x152.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/apple-icon-152x152.png
--------------------------------------------------------------------------------
/static/favicon/apple-icon-180x180.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/apple-icon-180x180.png
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/logo.png
--------------------------------------------------------------------------------
/themes/zdoc/static/images/landscape.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/images/landscape.jpg
--------------------------------------------------------------------------------
/themes/zdoc/static/images/mountain.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/images/mountain.jpg
--------------------------------------------------------------------------------
/themes/zdoc/static/images/mountains.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/images/mountains.jpg
--------------------------------------------------------------------------------
/static/favicon/apple-icon-precomposed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/favicon/apple-icon-precomposed.png
--------------------------------------------------------------------------------
/assets/fontawesome/webfonts/fa-solid-900.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/assets/fontawesome/webfonts/fa-solid-900.eot
--------------------------------------------------------------------------------
/assets/fontawesome/webfonts/fa-solid-900.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/assets/fontawesome/webfonts/fa-solid-900.ttf
--------------------------------------------------------------------------------
/resources/_gen/assets/css/envoy-handbook/css/my.css_b95b077eb505d5c0aff8055eaced30ad.json:
--------------------------------------------------------------------------------
1 | {"Target":"css/my.min.css","MediaType":"text/css","Data":{}}
--------------------------------------------------------------------------------
/static/fontawesome/webfonts/fa-solid-900.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/fontawesome/webfonts/fa-solid-900.eot
--------------------------------------------------------------------------------
/static/fontawesome/webfonts/fa-solid-900.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/fontawesome/webfonts/fa-solid-900.ttf
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-200.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-200.woff
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-300.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-300.woff
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-400.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-400.woff
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-600.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-600.woff
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-700.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-700.woff
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-800.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-800.woff
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-900.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-900.woff
--------------------------------------------------------------------------------
/assets/fontawesome/webfonts/fa-brands-400.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/assets/fontawesome/webfonts/fa-brands-400.eot
--------------------------------------------------------------------------------
/assets/fontawesome/webfonts/fa-brands-400.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/assets/fontawesome/webfonts/fa-brands-400.ttf
--------------------------------------------------------------------------------
/assets/fontawesome/webfonts/fa-brands-400.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/assets/fontawesome/webfonts/fa-brands-400.woff
--------------------------------------------------------------------------------
/assets/fontawesome/webfonts/fa-regular-400.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/assets/fontawesome/webfonts/fa-regular-400.eot
--------------------------------------------------------------------------------
/assets/fontawesome/webfonts/fa-regular-400.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/assets/fontawesome/webfonts/fa-regular-400.ttf
--------------------------------------------------------------------------------
/assets/fontawesome/webfonts/fa-solid-900.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/assets/fontawesome/webfonts/fa-solid-900.woff
--------------------------------------------------------------------------------
/assets/fontawesome/webfonts/fa-solid-900.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/assets/fontawesome/webfonts/fa-solid-900.woff2
--------------------------------------------------------------------------------
/content/zh/docs/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "文档"
3 | description: "test post index"
4 | date: 2020-01-11T14:09:21+09:00
5 | draft: false
6 | ---
7 |
8 | 目录
9 |
--------------------------------------------------------------------------------
/resources/_gen/assets/scss/envoy-handbook/sass/main.scss_b4f67ac5085b89b62b54c1923e5a9145.json:
--------------------------------------------------------------------------------
1 | {"Target":"css/main.min.css","MediaType":"text/css","Data":{}}
--------------------------------------------------------------------------------
/static/fontawesome/webfonts/fa-brands-400.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/fontawesome/webfonts/fa-brands-400.eot
--------------------------------------------------------------------------------
/static/fontawesome/webfonts/fa-brands-400.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/fontawesome/webfonts/fa-brands-400.ttf
--------------------------------------------------------------------------------
/static/fontawesome/webfonts/fa-brands-400.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/fontawesome/webfonts/fa-brands-400.woff
--------------------------------------------------------------------------------
/static/fontawesome/webfonts/fa-regular-400.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/fontawesome/webfonts/fa-regular-400.eot
--------------------------------------------------------------------------------
/static/fontawesome/webfonts/fa-regular-400.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/fontawesome/webfonts/fa-regular-400.ttf
--------------------------------------------------------------------------------
/static/fontawesome/webfonts/fa-solid-900.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/fontawesome/webfonts/fa-solid-900.woff
--------------------------------------------------------------------------------
/static/fontawesome/webfonts/fa-solid-900.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/fontawesome/webfonts/fa-solid-900.woff2
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/comments/commento.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/head/services.html:
--------------------------------------------------------------------------------
1 | {{ template "_internal/google_analytics.html" . }}
2 | {{ template "_internal/google_analytics_async.html" . }}
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/header/custom-header.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/montserrat-black.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/montserrat-black.woff
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/montserrat-bold.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/montserrat-bold.woff
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/montserrat-bold.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/montserrat-bold.woff2
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-200.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-200.woff2
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-300.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-300.woff2
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-400.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-400.woff2
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-600.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-600.woff2
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-700.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-700.woff2
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-800.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-800.woff2
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-900.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-900.woff2
--------------------------------------------------------------------------------
/themes/zdoc/static/images/section/keyboard.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/images/section/keyboard.png
--------------------------------------------------------------------------------
/assets/fontawesome/webfonts/fa-brands-400.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/assets/fontawesome/webfonts/fa-brands-400.woff2
--------------------------------------------------------------------------------
/assets/fontawesome/webfonts/fa-regular-400.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/assets/fontawesome/webfonts/fa-regular-400.woff
--------------------------------------------------------------------------------
/assets/fontawesome/webfonts/fa-regular-400.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/assets/fontawesome/webfonts/fa-regular-400.woff2
--------------------------------------------------------------------------------
/resources/_gen/assets/css/fontawesome/css/all.css_b95b077eb505d5c0aff8055eaced30ad.json:
--------------------------------------------------------------------------------
1 | {"Target":"fontawesome/css/all.min.css","MediaType":"text/css","Data":{}}
--------------------------------------------------------------------------------
/static/fontawesome/webfonts/fa-brands-400.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/fontawesome/webfonts/fa-brands-400.woff2
--------------------------------------------------------------------------------
/static/fontawesome/webfonts/fa-regular-400.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/fontawesome/webfonts/fa-regular-400.woff
--------------------------------------------------------------------------------
/static/fontawesome/webfonts/fa-regular-400.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/static/fontawesome/webfonts/fa-regular-400.woff2
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/montserrat-black.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/montserrat-black.woff2
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/montserrat-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/montserrat-regular.woff
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/montserrat-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/montserrat-regular.woff2
--------------------------------------------------------------------------------
/themes/zdoc/static/images/section/processor.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/images/section/processor.png
--------------------------------------------------------------------------------
/themes/zdoc/static/images/section/root-server.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/images/section/root-server.png
--------------------------------------------------------------------------------
/data/font.toml:
--------------------------------------------------------------------------------
1 | title_font = "\"JetBrainsMono-Regular\", \"Noto Serif SC\", sans-serif"
2 | content_font = "\"JetBrainsMono-Regular\", \"Noto Serif SC\", sans-serif"
3 |
--------------------------------------------------------------------------------
/resources/_gen/assets/css/envoy-handbook/css/fonts-code.css_b95b077eb505d5c0aff8055eaced30ad.json:
--------------------------------------------------------------------------------
1 | {"Target":"css/fonts-code.min.css","MediaType":"text/css","Data":{}}
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/resources/_gen/assets/scss/sass/main.scss_b4f67ac5085b89b62b54c1923e5a9145.json:
--------------------------------------------------------------------------------
1 | {"Target":"css/main.min.css","MediaType":"text/css","Data":{}}
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/favicon.ico
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/images/landscape.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/images/landscape.jpg
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/images/mountain.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/images/mountain.jpg
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/images/mountains.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/images/mountains.jpg
--------------------------------------------------------------------------------
/themes/zdoc/layouts/shortcodes/tab.html:
--------------------------------------------------------------------------------
1 | {{ $id := substr (md5 .Inner) 0 16 }}
2 |
3 | {{ .Inner | markdownify }}
4 |
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-200italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-200italic.woff
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-200italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-200italic.woff2
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-300italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-300italic.woff
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-300italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-300italic.woff2
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-400italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-400italic.woff
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-400italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-400italic.woff2
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-600italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-600italic.woff
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-600italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-600italic.woff2
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-700italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-700italic.woff
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-700italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-700italic.woff2
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-800italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-800italic.woff
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-800italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-800italic.woff2
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-900italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-900italic.woff
--------------------------------------------------------------------------------
/themes/zdoc/static/fonts/muli-latin-900italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/static/fonts/muli-latin-900italic.woff2
--------------------------------------------------------------------------------
/assets/css/my.css:
--------------------------------------------------------------------------------
1 | body, a:hover {
2 | cursor: url(https://jsdelivr.icloudnative.io/gh/yangchuansheng/imghosting@master/img/mouse.cur), progress !important;
3 | }
4 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/apple-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/apple-icon.png
--------------------------------------------------------------------------------
/themes/zdoc/layouts/shortcodes/code.html:
--------------------------------------------------------------------------------
1 | {{ $id := substr (md5 .Inner) 0 16 }}
2 |
3 | {{ .Inner | markdownify }}
4 |
--------------------------------------------------------------------------------
/layouts/partials/service/umami-analytics.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/resources/_gen/assets/css/envoy-handbook/fontawesome/css/all.css_b95b077eb505d5c0aff8055eaced30ad.json:
--------------------------------------------------------------------------------
1 | {"Target":"fontawesome/css/all.min.css","MediaType":"text/css","Data":{}}
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/components/_lib.scss:
--------------------------------------------------------------------------------
1 | // mermaid
2 | .mermaid {
3 | width: 100%;
4 | text-align: center;
5 | margin-bottom: 1rem;
6 | overflow: auto;
7 | }
8 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/favicon-16x16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/favicon-16x16.png
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/favicon-32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/favicon-32x32.png
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/favicon-96x96.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/favicon-96x96.png
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/ms-icon-70x70.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/ms-icon-70x70.png
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/apple-icon-57x57.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/apple-icon-57x57.png
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/apple-icon-60x60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/apple-icon-60x60.png
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/apple-icon-72x72.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/apple-icon-72x72.png
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/apple-icon-76x76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/apple-icon-76x76.png
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/ms-icon-144x144.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/ms-icon-144x144.png
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/ms-icon-150x150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/ms-icon-150x150.png
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/ms-icon-310x310.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/ms-icon-310x310.png
--------------------------------------------------------------------------------
/content/zh/docs/gettingstarted/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "开始"
3 | description: "安装运行"
4 | date: 2020-05-02T15:27:54+08:00
5 | draft: false
6 | weight: 3
7 | collapsible: true
8 | ---
9 |
--------------------------------------------------------------------------------
/themes/zdoc/assets/js/helper/prop.js:
--------------------------------------------------------------------------------
1 | var prop = function (node, name, value) {
2 | if (typeof value === 'undefined') {
3 | return node[name];
4 | }
5 | node[name] = value;
6 | };
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/docs/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Docs"
3 | description: "test post index"
4 | date: 2020-01-11T14:09:21+09:00
5 | draft: false
6 | ---
7 |
8 | Docs page.
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/ko/docs/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Docs"
3 | description: "test post index"
4 | date: 2020-01-11T14:09:21+09:00
5 | draft: false
6 | ---
7 |
8 | Docs page.
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/android-icon-36x36.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/android-icon-36x36.png
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/android-icon-48x48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/android-icon-48x48.png
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/android-icon-72x72.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/android-icon-72x72.png
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/android-icon-96x96.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/android-icon-96x96.png
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/apple-icon-114x114.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/apple-icon-114x114.png
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/apple-icon-120x120.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/apple-icon-120x120.png
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/apple-icon-144x144.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/apple-icon-144x144.png
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/apple-icon-152x152.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/apple-icon-152x152.png
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/apple-icon-180x180.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/apple-icon-180x180.png
--------------------------------------------------------------------------------
/themes/zdoc/layouts/shortcodes/notice.html:
--------------------------------------------------------------------------------
1 |
2 | {{ .Inner | markdownify }}
3 |
--------------------------------------------------------------------------------
/content/zh/docs/basics/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "基础概念"
3 | description: "Envoy 基础概念和术语解析"
4 | date: 2020-05-02T15:36:05+08:00
5 | draft: false
6 | weight: 5
7 | collapsible: true
8 | ---
9 |
--------------------------------------------------------------------------------
/content/zh/docs/practice/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "入门实践"
3 | description: "通过实践学习如何使用 Envoy"
4 | date: 2020-05-02T15:40:05+08:00
5 | draft: false
6 | weight: 7
7 | collapsible: true
8 | ---
9 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/updates/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Updates"
3 | description: "test post index"
4 | date: 2020-01-28T00:08:29+09:00
5 | draft: false
6 | ---
7 |
8 | Updates
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/ko/updates/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Updates"
3 | description: "test post index"
4 | date: 2020-01-28T00:08:29+09:00
5 | draft: false
6 | ---
7 |
8 | Updates
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/android-icon-144x144.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/android-icon-144x144.png
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/android-icon-192x192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/android-icon-192x192.png
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/android-icon-512x512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/android-icon-512x512.png
--------------------------------------------------------------------------------
/content/zh/docs/overview/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "介绍"
3 | description: "Envoy 与 Sidecar 模式介绍"
4 | date: 2020-05-02T14:04:05+08:00
5 | draft: false
6 | weight: 1
7 | collapsible: true
8 | ---
9 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/favicon/apple-icon-precomposed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yangchuansheng/envoy-handbook/HEAD/themes/zdoc/exampleSite/static/favicon/apple-icon-precomposed.png
--------------------------------------------------------------------------------
/themes/zdoc/layouts/_default/_markup/render-image.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/_default/single.html:
--------------------------------------------------------------------------------
1 | {{ define "header" }}
2 | {{ partial "main/header.html" . }}
3 | {{ end }}
4 | {{ define "main" }}
5 | {{ partial "main/single.html" . }}
6 | {{ end }}
--------------------------------------------------------------------------------
/layouts/partials/body/custom-body.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/docs/depth1/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Depth 1"
3 | date: 2020-02-28T10:08:56+09:00
4 | description:
5 | draft: false
6 | collapsible: true
7 | weight: 1
8 | ---
9 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/docs/pagebundles.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Page Bundles"
3 | description: "test post"
4 | date: 2020-01-28T00:38:59+09:00
5 | draft: false
6 | ---
7 |
8 | *Markdown here*
9 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/ko/docs/pagebundles.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Page Bundles"
3 | description: "test post"
4 | date: 2020-01-28T00:38:59+09:00
5 | draft: false
6 | ---
7 |
8 | *Markdown here*
9 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/navbar/menu/navbar-menu-collapse.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{ partial "drawer/drawer-section.html" . }}
4 |
5 |
--------------------------------------------------------------------------------
/themes/zdoc/archetypes/default.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "{{ replace .Name "-" " " | title }}"
3 | date: {{ .Date }}
4 | draft: false
5 | weight: 0
6 | enableToc: true
7 | tocLevels: ["h2", "h3", "h4"]
8 | ---
9 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/docs/depth1/depth2/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Depth 2"
3 | date: 2020-02-28T10:08:56+09:00
4 | description:
5 | draft: false
6 | collapsible: true
7 | weight: 1
8 | ---
9 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/docs/pageresources.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Page Resources"
3 | description: "test post"
4 | date: 2020-01-28T00:39:06+09:00
5 | draft: false
6 | ---
7 |
8 | *Markdown here*
9 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/ko/docs/pageresources.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Page Resources"
3 | description: "test post"
4 | date: 2020-01-28T00:39:06+09:00
5 | draft: false
6 | ---
7 |
8 | *Markdown here*
9 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/docs/contentfortmats.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Content Formats"
3 | description: "test post"
4 | date: 2020-01-28T00:38:51+09:00
5 | draft: false
6 | ---
7 |
8 | *Markdown here*
9 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/docs/depth1/test1.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Test 1"
3 | date: 2020-01-30T00:38:25+09:00
4 | description: Test description
5 | draft: false
6 | weight: 1
7 | enableToc: false
8 | ---
9 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/docs/imageprocessing.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Image Processing"
3 | description: "test post"
4 | date: 2020-01-28T00:38:48+09:00
5 | draft: false
6 | ---
7 |
8 | *Markdown here*
9 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/docs/relatedcontent.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Related content"
3 | description: "test post"
4 | date: 2020-01-28T00:39:09+09:00
5 | draft: false
6 | ---
7 |
8 | *Markdown here*
9 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/ko/docs/contentfortmats.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Content Formats"
3 | description: "test post"
4 | date: 2020-01-28T00:38:51+09:00
5 | draft: false
6 | ---
7 |
8 | *Markdown here*
9 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/ko/docs/imageprocessing.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Image Processing"
3 | description: "test post"
4 | date: 2020-01-28T00:38:48+09:00
5 | draft: false
6 | ---
7 |
8 | *Markdown here*
9 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/ko/docs/relatedcontent.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Related content"
3 | description: "test post"
4 | date: 2020-01-28T00:39:09+09:00
5 | draft: false
6 | ---
7 |
8 | *Markdown here*
9 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/main/component/toc.html:
--------------------------------------------------------------------------------
1 |
2 |
{{ i18n "toc-label" }}
3 |
4 | {{ .TableOfContents }}
5 |
6 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/shortcodes/alert.html:
--------------------------------------------------------------------------------
1 | {{ .Inner | markdownify }}
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/docs/contentmanagement/shortcodes.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Shortcodes"
3 | description: "test post"
4 | date: 2020-01-28T00:36:19+09:00
5 | draft: false
6 | ---
7 |
8 | *Markdown here*
9 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/docs/depth1/depth2/depth3/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Depth 3"
3 | date: 2020-02-28T10:08:56+09:00
4 | description:
5 | draft: false
6 | collapsible: true
7 | weight: 1
8 | ---
9 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/ko/docs/contentmanagement/shortcodes.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Shortcodes"
3 | description: "test post"
4 | date: 2020-01-28T00:36:19+09:00
5 | draft: false
6 | ---
7 |
8 | *Markdown here*
9 |
--------------------------------------------------------------------------------
/resources/_gen/assets/css/envoy-handbook/css/my.css_b95b077eb505d5c0aff8055eaced30ad.content:
--------------------------------------------------------------------------------
1 | body,a:hover{cursor:url(https://jsdelivr.icloudnative.io/gh/yangchuansheng/imghosting@master/img/mouse.cur),progress!important}
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/docs/contentmanagement/frontmatter.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Frontmatter"
3 | description: "test post"
4 | date: 2020-01-28T00:36:14+09:00
5 | draft: false
6 | ---
7 |
8 | *Markdown here*
9 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/docs/depth1/depth2/test2.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Test 2"
3 | date: 2020-01-30T00:38:25+09:00
4 | description: Test description
5 | draft: false
6 | weight: 1
7 | enableToc: false
8 | ---
9 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/ko/docs/contentmanagement/frontmatter.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Frontmatter"
3 | description: "test post"
4 | date: 2020-01-28T00:36:14+09:00
5 | draft: false
6 | ---
7 |
8 | *Markdown here*
9 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/docs/depth1/depth2/depth3/test3.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Test 3"
3 | date: 2020-01-30T00:38:25+09:00
4 | description: Test description
5 | draft: false
6 | weight: 1
7 | enableToc: false
8 | ---
9 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/docs/depth1/ttttest.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "ttttest"
3 | date: 2020-01-30T00:38:25+09:00
4 | description: Test description
5 | draft: false
6 | weight: 2
7 | enableToc: false
8 | ---
9 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/updates/2019_april.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "April 2019"
3 | description: "test post"
4 | date: 2020-01-28T00:10:48+09:00
5 | draft: false
6 | weight: -4
7 | ---
8 |
9 | *Markdown here*
10 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/updates/2019_march.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "March 2019"
3 | description: "test post"
4 | date: 2020-01-28T00:10:42+09:00
5 | draft: false
6 | weight: -3
7 | ---
8 |
9 | *Markdown here*
10 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/updates/2019_may.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "May 2019"
3 | description: "test post"
4 | date: 2020-01-28T00:10:51+09:00
5 | draft: false
6 | weight: -5
7 | ---
8 |
9 | *Markdown here*
10 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/ko/updates/2019_april.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "April 2019"
3 | description: "test post"
4 | date: 2020-01-28T00:10:48+09:00
5 | draft: false
6 | weight: -4
7 | ---
8 |
9 | *Markdown here*
10 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/ko/updates/2019_march.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "March 2019"
3 | description: "test post"
4 | date: 2020-01-28T00:10:42+09:00
5 | draft: false
6 | weight: -3
7 | ---
8 |
9 | *Markdown here*
10 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/ko/updates/2019_may.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "May 2019"
3 | description: "test post"
4 | date: 2020-01-28T00:10:51+09:00
5 | draft: false
6 | weight: -5
7 | ---
8 |
9 | *Markdown here*
10 |
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/syntax/_syntax.scss:
--------------------------------------------------------------------------------
1 |
2 | @import 'duotonelight';
3 | @import 'dracula';
4 |
5 | .theme__light {
6 | @include chroma-duotonelight;
7 | }
8 |
9 | .theme__dark {
10 | @include chroma-dracula;
11 | }
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/updates/2019_january.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "January 2019"
3 | description: "test post"
4 | date: 2020-01-28T00:10:09+09:00
5 | draft: false
6 | weight: -1
7 | ---
8 |
9 | *Markdown here*
10 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/ko/updates/2019_january.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "January 2019"
3 | description: "test post"
4 | date: 2020-01-28T00:10:09+09:00
5 | draft: false
6 | weight: -1
7 | ---
8 |
9 | *Markdown here*
10 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/_default/_markup/render-link.html:
--------------------------------------------------------------------------------
1 | {{ .Text | safeHTML }}
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/main/home.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{ partial "main/landing/home-landing.html" . }}
4 |
5 | {{ partial "main/landing/home-sections.html" . }}
6 |
7 |
--------------------------------------------------------------------------------
/themes/zdoc/assets/js/helper/next.js:
--------------------------------------------------------------------------------
1 | function next(node, selector) {
2 | if (selector && document.querySelector(selector) !== node.nextElementSibling) {
3 | return null;
4 | }
5 |
6 | return node.nextElementSibling;
7 | }
8 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/updates/2019_february.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "February 2019"
3 | description: "test post"
4 | date: 2020-01-28T00:10:37+09:00
5 | draft: false
6 | weight: -2
7 | ---
8 |
9 | *Markdown here*
10 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/ko/updates/2019_february.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "February 2019"
3 | description: "test post"
4 | date: 2020-01-28T00:10:37+09:00
5 | draft: false
6 | weight: -2
7 | ---
8 |
9 | *Markdown here*
10 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/docs/gettingstarted/basicusage.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Basic Usage"
3 | description: "test post"
4 | date: 2020-01-28T00:34:51+09:00
5 | draft: false
6 | weight: -4
7 | ---
8 |
9 | *Markdown here*
10 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/docs/gettingstarted/quickstart.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Quick Start"
3 | description: "test post"
4 | date: 2020-01-28T00:34:41+09:00
5 | draft: false
6 | weight: -1
7 | ---
8 |
9 | *Markdown here*
10 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/ko/docs/gettingstarted/basicusage.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Basic Usage"
3 | description: "test post"
4 | date: 2020-01-28T00:34:51+09:00
5 | draft: false
6 | weight: -4
7 | ---
8 |
9 | *Markdown here*
10 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/ko/docs/gettingstarted/quickstart.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Quick Start"
3 | description: "test post"
4 | date: 2020-01-28T00:34:41+09:00
5 | draft: false
6 | weight: -1
7 | ---
8 |
9 | *Markdown here*
10 |
--------------------------------------------------------------------------------
/themes/zdoc/assets/js/helper/prev.js:
--------------------------------------------------------------------------------
1 | var prev = function(node, selector) {
2 | if (selector && document.querySelector(selector) !== node.previousElementSibling) {
3 | return null;
4 | }
5 |
6 | return node.previousElementSibling;
7 | }
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/docs/gettingstarted/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Getting Started"
3 | description: "test post index"
4 | date: 2020-01-28T00:34:39+09:00
5 | draft: false
6 | weight: 1
7 | collapsible: true
8 | ---
9 |
10 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/docs/gettingstarted/configuration.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Configuration"
3 | description: "test post"
4 | date: 2020-01-28T00:34:56+09:00
5 | draft: false
6 | weight: -3
7 | ---
8 |
9 | *Markdown here*
10 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/docs/gettingstarted/installation.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Installation"
3 | description: "test post"
4 | date: 2020-01-28T00:34:13+09:00
5 | draft: false
6 | weight: -2
7 | ---
8 |
9 | *Markdown here*
10 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/ko/docs/gettingstarted/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Getting Started"
3 | description: "test post index"
4 | date: 2020-01-28T00:34:39+09:00
5 | draft: false
6 | weight: 1
7 | collapsible: true
8 | ---
9 |
10 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/ko/docs/gettingstarted/configuration.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Configuration"
3 | description: "test post"
4 | date: 2020-01-28T00:34:56+09:00
5 | draft: false
6 | weight: -3
7 | ---
8 |
9 | *Markdown here*
10 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/ko/docs/gettingstarted/installation.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Installation"
3 | description: "test post"
4 | date: 2020-01-28T00:34:13+09:00
5 | draft: false
6 | weight: -2
7 | ---
8 |
9 | *Markdown here*
10 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/index.html:
--------------------------------------------------------------------------------
1 | {{ define "title" }}{{ .Site.Title }}{{ end }}
2 | {{ define "header" }}
3 | {{ partial "header/site-header.html" . }}
4 | {{ end }}
5 | {{ define "main" }}
6 | {{ partial "main/home.html" . }}
7 | {{ end }}
8 |
--------------------------------------------------------------------------------
/config/_default/menus.zh.toml:
--------------------------------------------------------------------------------
1 | [[main]]
2 | identifier = "docs"
3 | name = "文档"
4 | url = "docs/"
5 | weight = 1
6 |
7 | [[main]]
8 | identifier = "blog"
9 | name = "博客"
10 | url = "https://fuckcloudnative.io"
11 | weight = 3
12 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/docs/contentmanagement/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Content Management"
3 | description: "test post index"
4 | date: 2020-01-28T00:36:39+09:00
5 | draft: false
6 | weight: 2
7 | collapsible: true
8 | ---
9 |
10 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/ko/docs/contentmanagement/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Content Management"
3 | description: "test post index"
4 | date: 2020-01-28T00:36:39+09:00
5 | draft: false
6 | weight: 2
7 | collapsible: true
8 | ---
9 |
10 |
--------------------------------------------------------------------------------
/config/_default/languages.toml:
--------------------------------------------------------------------------------
1 | [en]
2 | title = "ZDoc"
3 | languageName = "English"
4 | weight = 1
5 | contentdir = "content/en"
6 |
7 | [zh]
8 | title = "Envoy 中文指南"
9 | languageName = "中文"
10 | weight = 2
11 | contentdir = "content/zh"
12 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/config/_default/languages.toml:
--------------------------------------------------------------------------------
1 | [en]
2 | title = "ZDoc"
3 | languageName = "English"
4 | weight = 1
5 | contentdir = "content/en"
6 |
7 | [ko]
8 | title = "ZDoc"
9 | languageName = "한국어"
10 | weight = 2
11 | contentdir = "content/ko"
12 |
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/themes/_theme.scss:
--------------------------------------------------------------------------------
1 | @import 'dark';
2 | @import 'light';
3 |
4 | @import 'darkcode';
5 | @import 'lightcode';
6 |
7 | $themes: (
8 | dark: $dark,
9 | light: $light,
10 | );
11 |
12 | $codeblock: (
13 | dark: $darkcode,
14 | light: $lightcode,
15 | );
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/navbar/logo/navbar-logo-mobile.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/static/favicon/browserconfig.xml:
--------------------------------------------------------------------------------
1 |
2 | #ffffff
--------------------------------------------------------------------------------
/themes/zdoc/layouts/_default/section.html:
--------------------------------------------------------------------------------
1 | {{ define "header" }}
2 | {{ partial "main/header.html" . }}
3 | {{ end }}
4 | {{ define "main" }}
5 | {{ $section_to_display := .Sections | default .Pages }}
6 | {{ partial "main/list.html" (dict "context" . "section_to_display" $section_to_display) }}
7 | {{ end }}
8 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/comments/isso.html:
--------------------------------------------------------------------------------
1 | {{- $scriptSrc := .Site.Params.isso.scriptSrc -}}
2 | {{- $dataAttrs := .Site.Params.isso.dataAttrs -}}
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/components/_bgcolor.scss:
--------------------------------------------------------------------------------
1 | .bgcolor {
2 | @include themify($themes) {
3 | &__header {
4 | background-color: themed('single-header-title-background-color');
5 | }
6 |
7 | &__breadcrumb {
8 | background-color: themed('breadcrumb-background-color');
9 | }
10 | }
11 | }
--------------------------------------------------------------------------------
/config/_default/menus.en.toml:
--------------------------------------------------------------------------------
1 | [[main]]
2 | identifier = "docs"
3 | name = "Docs"
4 | url = "docs"
5 | weight = 1
6 |
7 | [[main]]
8 | identifier = "updates"
9 | name = "Updates"
10 | url = "updates"
11 | weight = 2
12 |
13 | [[main]]
14 | identifier = "blog"
15 | name = "Blog"
16 | url = "blog"
17 | weight = 3
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/themes/_darkcode.scss:
--------------------------------------------------------------------------------
1 | $darkcode: (
2 | content-code-color: #fcfcfa,
3 | content-pre-color: #eee,
4 | content-pre-number-color: #666,
5 | content-pre-background-color: #2A2C37,
6 | content-pre-header-background-color: #1D1E26,
7 | content-pre-border-background-color: #595B5C,
8 | content-pre-header-color: #FCFCFA,
9 | );
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/svgs/arrow-down.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/svgs/arrow-left.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/svgs/arrow-right.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/config/_default/menus.en.toml:
--------------------------------------------------------------------------------
1 | [[main]]
2 | identifier = "docs"
3 | name = "Docs"
4 | url = "docs"
5 | weight = 1
6 |
7 | [[main]]
8 | identifier = "updates"
9 | name = "Updates"
10 | url = "updates"
11 | weight = 2
12 |
13 | [[main]]
14 | identifier = "blog"
15 | name = "Blog"
16 | url = "blog"
17 | weight = 3
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/config/_default/menus.ko.toml:
--------------------------------------------------------------------------------
1 | [[main]]
2 | identifier = "docs"
3 | name = "Docs"
4 | url = "docs"
5 | weight = 1
6 |
7 | [[main]]
8 | identifier = "updates"
9 | name = "Updates"
10 | url = "updates"
11 | weight = 2
12 |
13 | [[main]]
14 | identifier = "blog"
15 | name = "Blog"
16 | url = "blog"
17 | weight = 3
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/layout/_main.scss:
--------------------------------------------------------------------------------
1 | .mid {
2 | @include themify($themes) {
3 | background-color: themed('back-background-color');
4 | }
5 | }
6 | .main {
7 | width: 100%;
8 |
9 | @include flexbox();
10 | @include justify-content(center);
11 | @include themify($themes) {
12 | background-color: themed('back-background-color');
13 | }
14 | }
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/svgs/calendar.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/themes/_lightcode.scss:
--------------------------------------------------------------------------------
1 | $lightcode: (
2 | content-code-color: #607d8b,
3 | content-pre-color: #344952,
4 | content-pre-number-color: #aaa,
5 | content-pre-background-color: #f7f8f9,
6 | content-pre-border-background-color: darken(#eceff1, 7%),
7 | content-pre-header-background-color: darken(#eceff1, 3.5%),
8 | content-pre-header-color: #344952,
9 | );
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/header/blog-header.html:
--------------------------------------------------------------------------------
1 | {{ if and ($.Param "blogHeaderType") (eq ($.Param "blogHeaderType") "img") }}
2 | {{ partial "header/blog-header-img" . }}
3 | {{ else if and ($.Param "blogHeaderType") (eq ($.Param "blogHeaderType") "text") }}
4 | {{ partial "header/blog-header-text" . }}
5 | {{ else }}
6 | {{ partial "header/custom-header" . }}
7 | {{ end }}
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/svgs/light-mode.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/assets/sass/themes/_solarizedcode.scss:
--------------------------------------------------------------------------------
1 | $solarizedcode: (
2 | content-code-color: #607d8b,
3 | content-pre-color: #344952,
4 | content-pre-number-color: #aaa,
5 | content-pre-background-color: #f7f8f9,
6 | content-pre-border-background-color: darken(#eceff1, 7%),
7 | content-pre-header-background-color: darken(#eceff1, 3.5%),
8 | content-pre-header-color: #344952,
9 | );
10 |
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/components/_modal.scss:
--------------------------------------------------------------------------------
1 | .modal {
2 | position: fixed;
3 | z-index: z('modal');
4 | left: -100%;
5 | top: 0;
6 | right: 0;
7 | bottom: 0;
8 | width: 100%; /* Full width */
9 | height: 100%; /* Full height */
10 | overflow: hidden;
11 | opacity: 0;
12 | background: rgba(0,0,0,0.6);
13 |
14 | @include transition(opacity, 0.25s, ease-in-out);
15 | }
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/svgs/home.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/assets/sass/themes/_theme.scss:
--------------------------------------------------------------------------------
1 | @import 'dark';
2 | @import 'light';
3 | @import 'solarized';
4 |
5 | @import 'darkcode';
6 | @import 'lightcode';
7 | @import 'solarizedcode';
8 |
9 | $themes: (
10 | dark: $dark,
11 | light: $light,
12 | solarized: $solarized,
13 | );
14 |
15 | $codeblock: (
16 | dark: $darkcode,
17 | light: $lightcode,
18 | solarized: $solarizedcode,
19 | );
20 |
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/abstracts/_functions.scss:
--------------------------------------------------------------------------------
1 | @function z($name) {
2 | @if index($z-indexes, $name) {
3 | @return (length($z-indexes) - index($z-indexes, $name)) + 1;
4 | } @else {
5 | @warn 'There is no item "#{$name}" in this list; choose one of: #{$z-indexes}';
6 | @return null;
7 | }
8 | }
9 |
10 | @function themed($key) {
11 | @return map-get($theme-map, $key);
12 | }
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/components/_box.scss:
--------------------------------------------------------------------------------
1 | .box {
2 | font-size: 0.925rem;
3 | font-family: $title-font;
4 | word-break: keep-all;
5 | padding: 0.5rem;
6 | margin: 2rem 1rem;
7 | border-radius: 0.5rem;
8 |
9 | @include themify($themes) {
10 | border: 1px solid themed('content-box-border-color');
11 | background-color: themed('content-box-background-color');
12 | }
13 | }
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/main/component/edit-this-page.html:
--------------------------------------------------------------------------------
1 | {{ if $.Param "enableEditBtn" }}
2 |
3 |
6 |
7 | {{ end }}
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/main/landing/home-social.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {{ range .Params.shields }}
5 |
6 |
7 |
8 | {{ end }}
9 |
10 |
11 |
--------------------------------------------------------------------------------
/themes/zdoc/i18n/ko.toml:
--------------------------------------------------------------------------------
1 | [toc-label]
2 | other = "목차"
3 |
4 | [tooltip-written]
5 | other = "작성일"
6 |
7 | [tooltip-modified]
8 | other = "수정일"
9 |
10 | [tooltip-reading-time]
11 | other = "읽는 시간"
12 |
13 | [summary-dateformat]
14 | other = "2006년 01월 02일"
15 |
16 | [reading-time]
17 | other = "min read"
18 |
19 | [single-writtenBy]
20 | other = "글쓴이"
21 |
22 | [edit-this-page]
23 | other = "이 페이지 수정하기"
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/svgs/menu.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/svgs/arrow-back.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/svgs/arrow-forward.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/svgs/edit.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/shortcodes/expand.html:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | {{.Inner | markdownify}}
10 |
11 |
--------------------------------------------------------------------------------
/layouts/partials/main/component/edit-this-page.html:
--------------------------------------------------------------------------------
1 | {{ if $.Param "enableEditBtn" }}
2 |
3 |
6 |
7 | {{ end }}
8 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/header/site-header.html:
--------------------------------------------------------------------------------
1 |
2 |
13 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/svgs/dark-mode.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/assets/sass/themes/_darkcode.scss:
--------------------------------------------------------------------------------
1 | $darkcode: (
2 | content-code-color: #c3c7cb,
3 | content-code-in-pre-color: #fcfcfa,
4 | content-code-background-color: #3e4b5e,
5 | content-pre-color: #eee,
6 | content-pre-number-color: #666,
7 | content-pre-background-color: #2A2C37,
8 | content-pre-header-background-color: #1D1E26,
9 | content-pre-border-background-color: #595B5C,
10 | content-pre-header-color: #FCFCFA,
11 | );
12 |
--------------------------------------------------------------------------------
/themes/zdoc/assets/js/helper/closest.js:
--------------------------------------------------------------------------------
1 | var closest = function(node, selector) {
2 | return (node.closest || function (_selector) {
3 | do {
4 | if ((node.matches || node.msMatchesSelector).call(node, _selector)) {
5 | return node;
6 | }
7 | node = node.parentElement || node.parentNode;
8 | } while (node !== null && node.nodeType === 1);
9 |
10 | return null;
11 | }).call(node, selector);
12 | }
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/main/sections/list-section.html:
--------------------------------------------------------------------------------
1 | {{ $.context.Content }}
2 |
3 | {{ range .section_to_display }}
4 |
12 | {{ end }}
13 |
--------------------------------------------------------------------------------
/themes/zdoc/i18n/en.toml:
--------------------------------------------------------------------------------
1 | [toc-label]
2 | other = "What's on this Page"
3 |
4 | [tooltip-written]
5 | other = "Written At"
6 |
7 | [tooltip-modified]
8 | other = "Modified At"
9 |
10 | [tooltip-reading-time]
11 | other = "Reading Time"
12 |
13 | [summary-dateformat]
14 | other = "Jan 2, 2006"
15 |
16 | [reading-time]
17 | other = "min read"
18 |
19 | [single-writtenBy]
20 | other = "WRITTEN BY"
21 |
22 | [edit-this-page]
23 | other = "EDIT THIS PAGE"
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/svgs/cancel.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/svgs/invert-colors.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/i18n/zh.toml:
--------------------------------------------------------------------------------
1 | [toc-label]
2 | other = "目录"
3 |
4 | [tooltip-written]
5 | other = "Written At"
6 |
7 | [tooltip-modified]
8 | other = "Modified At"
9 |
10 | [tooltip-reading-time]
11 | other = "Reading Time"
12 |
13 | [summary-dateformat]
14 | other = "Jan 2, 2006"
15 |
16 | [reading-time]
17 | other = "min read"
18 |
19 | [single-writtenBy]
20 | other = "WRITTEN BY"
21 |
22 | [edit-this-page]
23 | other = "在线编辑"
24 |
25 | [note]
26 | other = "注意"
27 |
--------------------------------------------------------------------------------
/data/color.toml:
--------------------------------------------------------------------------------
1 | dark_active_font_color = "#aed581"
2 | dark_link_color = "#8aa2d3"
3 | dark_link_hover_color = "#FF6188"
4 | dark_nav_logo_color = "#FCFCFA"
5 | dark_nav_menu_color = "#FCFCFA"
6 | dark_nav_icon_color = "#ccc"
7 |
8 |
9 | light_active_font_color = "#007d9c"
10 | light_link_color = "#007d9c"
11 | light_link_hover_color = "#00ACD7"
12 | light_nav_logo_color = "#242729"
13 | light_nav_menu_color = "#242729"
14 | light_nav_icon_color = "#535a61"
15 |
--------------------------------------------------------------------------------
/themes/zdoc/data/color.toml:
--------------------------------------------------------------------------------
1 | dark_active_font_color = "#aed581"
2 | dark_link_color = "#FFD866"
3 | dark_link_hover_color = "#FF6188"
4 | dark_nav_logo_color = "#FCFCFA"
5 | dark_nav_menu_color = "#FCFCFA"
6 | dark_nav_icon_color = "#ccc"
7 |
8 |
9 | light_active_font_color = "#007d9c"
10 | light_link_color = "#007d9c"
11 | light_link_hover_color = "#00ACD7"
12 | light_nav_logo_color = "#242729"
13 | light_nav_menu_color = "#242729"
14 | light_nav_icon_color = "#535a61"
--------------------------------------------------------------------------------
/layouts/partials/comments/disqus-proxy.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/main/sections/list-main.html:
--------------------------------------------------------------------------------
1 |
2 | {{ if eq .Type "blog" }}
3 |
4 | {{ .Title }}
5 |
6 |
7 | {{ partial "main/component/article-meta.html" . }}
8 |
9 | {{ end }}
10 |
11 |
12 | {{ .Content }}
13 |
14 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/svgs/close.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/components/_dropdown.scss:
--------------------------------------------------------------------------------
1 | .dropdown {
2 | position: relative;
3 | display: inline-block;
4 | height: 100%;
5 | }
6 |
7 | .dropdown-content {
8 | display: none;
9 | position: absolute;
10 | z-index: z('dropdown');
11 | }
12 |
13 | .dropdown-content a {
14 | padding: 0.3rem 0.5rem;
15 | text-decoration: none;
16 | display: block;
17 | @include truncate2(120px);
18 | }
19 |
20 | .dropdown:hover .dropdown-content {
21 | display: block;
22 | }
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/navbar/icons/navbar-icons.html:
--------------------------------------------------------------------------------
1 |
2 | {{ partial "navbar/icons/select-lang.html" . }}
3 | {{ partial "navbar/icons/light-dark-toggle.html" . }}
4 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/pages/_blog.scss:
--------------------------------------------------------------------------------
1 | .blog {
2 | @include themify($themes) {
3 | background-color: themed('body-background-color');
4 | }
5 |
6 | &__bg {
7 | @include themify($themes) {
8 | background-color: themed('body-background-color');
9 | }
10 | }
11 |
12 | &__header {
13 | @include flexbox();
14 | @include justify-content(center);
15 | @include align-items(center);
16 | }
17 |
18 | .subtitle {
19 | margin: 0.25rem 0;
20 | }
21 | }
--------------------------------------------------------------------------------
/themes/zdoc/layouts/index.json:
--------------------------------------------------------------------------------
1 | {{ .Scratch.Delete "searchindex" }}
2 | {{- $.Scratch.Add "searchindex" slice -}}
3 | {{- range $index, $element := (where .Site.Pages "Kind" "page") -}}
4 | {{ with $element.Plain }}
5 | {{- $.Scratch.Add "searchindex" (dict "id" $index "title" $element.Title "uri" $element.Permalink "tags" $element.Params.tags "section" $element.Section "content" $element.Plain "description" $element.Description) -}}
6 | {{ end }}
7 | {{- end -}}
8 | {{- $.Scratch.Get "searchindex" | jsonify -}}
--------------------------------------------------------------------------------
/layouts/partials/navbar/menu/navbar-menu-mobile.html:
--------------------------------------------------------------------------------
1 |
12 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/svgs/search.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/navbar/menu/navbar-menu-mobile.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/base/_animation.scss:
--------------------------------------------------------------------------------
1 | // -- Slide Animations -- //
2 |
3 | @include keyframes(slide-in-down) {
4 | 0% {
5 | transform: translate(0,-12%);
6 | opacity: 0;
7 | }
8 |
9 | 100% {
10 | transform: translate(0,0);
11 | opacity: 1;
12 | }
13 | }
14 |
15 | // Slide in Left to Center
16 | @include keyframes(slide-in-left) {
17 | 0% {
18 | transform: translate(-12%,0);
19 | opacity: 0;
20 | }
21 |
22 | 100% {
23 | transform: translate(0,0);
24 | opacity: 1;
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/main/component/article-meta.html:
--------------------------------------------------------------------------------
1 | {{ partial "svgs/calendar.svg" (dict "width" 16 "height" 16) }} {{ partial "svgs/time.svg" (dict "width" 16 "height" 16) }} {{ .ReadingTime }} {{ i18n "reading-time" }}{{ with .Params.Author }} {{ partial "svgs/avatar.svg" (dict "width" 16 "height" 16) }} {{ . }}{{ end }}
--------------------------------------------------------------------------------
/themes/zdoc/theme.toml:
--------------------------------------------------------------------------------
1 | name = "Zdoc"
2 | description = "Simple Hugo documentation theme."
3 | homepage = "https://zzodocs.netlify.com"
4 | license = "MIT"
5 | licenselink = "https://github.com/zzossig/hugo-theme-zdoc/blob/master/LICENSE.md"
6 | tags = ["accessible", "multilingual", "responsive", "documentation", "search", "simple", "light", "dark", "mobile"]
7 | features = ["accessible", "multilingual", "responsive", "grid", "sass", "search", "fast"]
8 | min_version = "0.60.0"
9 |
10 | [author]
11 | name = "zzossig"
12 | homepage = "https://zzossig.io"
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/main/landing/home-sections.html:
--------------------------------------------------------------------------------
1 | {{ range .Params.sections }}
2 |
3 |
4 |
5 | {{ if eq .type "card" }}
6 | {{ partial "main/landing/section-card.html" . }}
7 | {{ else if eq .type "normal" }}
8 | {{ partial "main/landing/section-normal" . }}
9 | {{ else }}
10 | {{ printf "%#v" "Not supported type" }}
11 | {{ end }}
12 |
13 |
14 |
15 | {{ end }}
--------------------------------------------------------------------------------
/layouts/partials/head/services.html:
--------------------------------------------------------------------------------
1 | {{ if not .Site.IsServer }}
2 |
6 |
11 |
12 | {{ end }}
13 | {{ partial "service/baidu-analytics" . }}
14 | {{ partial "service/umami-analytics" . }}
15 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/navbar/search/site-search.html:
--------------------------------------------------------------------------------
1 | {{ if $.Param "enableSearch" }}
2 |
3 |
4 |
5 | {{ partial "svgs/search.svg" (dict "width" 22 "height" 22) }}
6 |
7 |
8 |
9 |
11 |
12 |
13 |
14 | {{ end }}
--------------------------------------------------------------------------------
/layouts/partials/service/baidu-analytics.html:
--------------------------------------------------------------------------------
1 | {{ if and (.Site.Params.baiduAnalytics) (not .Site.IsServer) }}
2 |
14 | {{ end }}
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/drawer/drawer-section.html:
--------------------------------------------------------------------------------
1 | {{ $current := . }}
2 | {{ range .Site.Menus.main }}
3 | {{ $active := or ($current.IsMenuCurrent "main" .) ($current.HasMenuCurrent "main" .) }}
4 | {{ $active = or $active (eq .Name $current.Title) }}
5 | {{ $active = or $active (eq (lower .URL) (lower $current.Title)) }}
6 | {{ $active = or $active (eq (lower .URL) (lower $current.Type)) }}
7 |
10 | {{ end }}
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/svgs/time.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/base/_helpers.scss:
--------------------------------------------------------------------------------
1 | .clearfix::after {
2 | clear: both;
3 | content: '';
4 | display: table;
5 | }
6 |
7 | .capitalize {
8 | text-transform: capitalize;
9 | }
10 |
11 | .hide {
12 | display: none;
13 | }
14 |
15 | .grow {
16 | @include flex-grow(1);
17 | }
18 |
19 | .flexbox {
20 | @include flexbox();
21 | }
22 |
23 | .flexcolumn {
24 | @include flexbox();
25 | @include flex-direction(column);
26 | }
27 |
28 | .jc-center {
29 | @include justify-content(center);
30 | }
31 |
32 | .ai-center {
33 | @include align-items(center);
34 | }
35 |
36 | .flex-wrap {
37 | @include flex-wrap(wrap);
38 | }
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/navbar/logo/navbar-logo-tablet.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/svgs/avatar.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/layouts/partials/navbar/menu/navbar-menu.html:
--------------------------------------------------------------------------------
1 | {{ $current := . }}
2 | {{ range .Site.Menus.main }}
3 | {{ $active := or ($current.IsMenuCurrent "main" .) ($current.HasMenuCurrent "main" .) }}
4 | {{ $active = or $active (eq .Name $current.Title) }}
5 | {{ $active = or $active (eq (lower .URL) (lower $current.Title)) }}
6 | {{ $active = or $active (eq (lower .URL) (lower $current.Type)) }}
7 |
10 | {{ end }}
11 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/comments/livere.html:
--------------------------------------------------------------------------------
1 |
2 |
15 |
17 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/navbar/menu/navbar-menu.html:
--------------------------------------------------------------------------------
1 | {{ $current := . }}
2 | {{ range .Site.Menus.main }}
3 | {{ $active := or ($current.IsMenuCurrent "main" .) ($current.HasMenuCurrent "main" .) }}
4 | {{ $active = or $active (eq .Name $current.Title) }}
5 | {{ $active = or $active (eq (lower .URL) (lower $current.Title)) }}
6 | {{ $active = or $active (eq (lower .URL) (lower $current.Type)) }}
7 |
10 | {{ end }}
11 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/head/styles.html:
--------------------------------------------------------------------------------
1 | {{ $main_options := (dict "targetPath" "css/main.css" "outputStyle" "compressed") }}
2 | {{ $main_template := resources.Get "sass/main.scss" }}
3 | {{ $main_style := $main_template | resources.ExecuteAsTemplate "main_parsed.scss" . | toCSS $main_options | resources.Minify }}
4 |
5 |
6 | {{ if .Site.Params.custom_css }}
7 | {{ range .Site.Params.custom_css }}
8 | {{ $custom_template := resources.Get . }}
9 | {{ if $custom_template }}
10 | {{ $custom_style := $custom_template | resources.ToCSS | resources.Minify }}
11 |
12 | {{ end }}
13 | {{ end }}
14 | {{ end }}
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/main/header.html:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
22 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/navbar/search/site-search-mobile.html:
--------------------------------------------------------------------------------
1 | {{ if $.Param "enableSearch" }}
2 |
3 | {{ partial "svgs/search.svg" (dict "width" 22 "height" 22) }}
4 |
5 |
6 |
7 |
8 |
9 |
10 | {{ partial "svgs/cancel.svg" (dict "width" 22 "height" 22) }}
11 |
12 |
13 |
14 |
15 |
16 |
17 | {{ end }}
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/blog/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Blog
3 | description: Blog list page
4 | blogHeaderType: text
5 | headerHeight: 112
6 | header:
7 | - type: text
8 | paddingX: 50
9 | paddingY: 0
10 | align: center
11 | title:
12 | - Blog
13 | subtitle:
14 | -
15 | spaceBetweenTitleSubtitle: 0
16 |
17 | - type: img
18 | imageSrc: images/header/background.png
19 | imageSize: initial
20 | imageRepeat: no-repeat
21 | imagePosition: center
22 | height: 170
23 | paddingX: 50
24 | paddingY: 0
25 | align: center
26 | title:
27 | -
28 | subtitle:
29 | -
30 | titleShadow: true
31 | subtitleCursive: true
32 | spaceBetweenTitleSubtitle: 20
33 | ---
34 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/ko/blog/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Blog
3 | description: Blog list page
4 | blogHeaderType: text
5 | headerHeight: 112
6 | header:
7 | - type: text
8 | paddingX: 50
9 | paddingY: 0
10 | align: center
11 | title:
12 | - Blog
13 | subtitle:
14 | -
15 | spaceBetweenTitleSubtitle: 0
16 |
17 | - type: img
18 | imageSrc: images/header/background.png
19 | imageSize: initial
20 | imageRepeat: no-repeat
21 | imagePosition: center
22 | height: 170
23 | paddingX: 50
24 | paddingY: 0
25 | align: center
26 | title:
27 | -
28 | subtitle:
29 | -
30 | titleShadow: true
31 | subtitleCursive: true
32 | spaceBetweenTitleSubtitle: 20
33 | ---
34 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/main/component/tag-cloud.html:
--------------------------------------------------------------------------------
1 | {{ $totalTag := (len .Site.Taxonomies.tags) }}
2 |
3 | {{ .Title }}
4 |
5 |
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/base/_typography.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * Basic typography style for copy text
3 | */
4 |
5 | html {
6 | font-family: sans-serif;
7 | -ms-text-size-adjust: 100%;
8 | -webkit-text-size-adjust: 100%;
9 | }
10 |
11 | body {
12 | font-size: 1rem;
13 | font-family: $text-font-stack;
14 | }
15 |
16 | code,
17 | pre {
18 | font-size: 0.85rem;
19 | font-family: $code-font-stack;
20 | }
21 |
22 | .h1 {
23 | font-size: 4rem;
24 | }
25 |
26 | .h2 {
27 | font-size: 3.5rem;
28 | }
29 |
30 | .h3 {
31 | font-size: 3rem;
32 | }
33 |
34 | .h4 {
35 | font-size: 2.5rem;
36 | }
37 |
38 | .h5 {
39 | font-size: 2rem;
40 | }
41 |
42 | .h6 {
43 | font-size: 1.5rem;
44 | }
45 |
46 | .p1 {
47 | font-size: 1.2rem;
48 | }
49 |
50 | .p2 {
51 | font-size: 1rem;
52 | }
53 |
54 | .caption {
55 | font-size: 0.8rem;
56 | }
--------------------------------------------------------------------------------
/layouts/partials/navbar/logo/navbar-logo.html:
--------------------------------------------------------------------------------
1 |
15 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/svgs/github.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/svgs/translate.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/navbar/logo/navbar-logo.html:
--------------------------------------------------------------------------------
1 |
15 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/svgs/hand-with-pen.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/static/favicon/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "App",
3 | "icons": [
4 | {
5 | "src": "\/android-icon-36x36.png",
6 | "sizes": "36x36",
7 | "type": "image\/png",
8 | "density": "0.75"
9 | },
10 | {
11 | "src": "\/android-icon-48x48.png",
12 | "sizes": "48x48",
13 | "type": "image\/png",
14 | "density": "1.0"
15 | },
16 | {
17 | "src": "\/android-icon-72x72.png",
18 | "sizes": "72x72",
19 | "type": "image\/png",
20 | "density": "1.5"
21 | },
22 | {
23 | "src": "\/android-icon-96x96.png",
24 | "sizes": "96x96",
25 | "type": "image\/png",
26 | "density": "2.0"
27 | },
28 | {
29 | "src": "\/android-icon-144x144.png",
30 | "sizes": "144x144",
31 | "type": "image\/png",
32 | "density": "3.0"
33 | },
34 | {
35 | "src": "\/android-icon-192x192.png",
36 | "sizes": "192x192",
37 | "type": "image\/png",
38 | "density": "4.0"
39 | }
40 | ]
41 | }
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/comments/gitalk.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
17 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/comments/disqus.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/comments/comments.html:
--------------------------------------------------------------------------------
1 | {{ if $.Param "enableComment" }}
2 | {{ if $.Param "disqus_shortname" }}
3 | {{ partial "comments/disqus.html" . }}
4 | {{ else if $.Param "commento" }}
5 | {{ partial "comments/commento.html" . }}
6 | {{ else if $.Param "valine.enable" }}
7 | {{ partial "comments/valine.html" . }}
8 | {{ else if $.Param "changyan.changyanAppid" }}
9 | {{ partial "comments/changyan.html" . }}
10 | {{ else if $.Param "livere.livereUID" }}
11 | {{ partial "comments/livere.html" . }}
12 | {{ else if $.Param "gitment.owner" }}
13 | {{ partial "comments/gitment.html" . }}
14 | {{ else if $.Param "gitalk.owner" }}
15 | {{ partial "comments/gitalk.html" . }}
16 | {{ else if $.Param "utterances.owner" }}
17 | {{ partial "comments/utterances.html" . }}
18 | {{ else if $.Param "isso.enable" }}
19 | {{ partial "comments/isso.html" . }}
20 | {{ end }}
21 | {{ end }}
--------------------------------------------------------------------------------
/layouts/partials/navbar/icons/light-dark-toggle.html:
--------------------------------------------------------------------------------
1 | {{ if $.Param "enableDarkMode" }}
2 |
5 |
8 |
21 | {{ end }}
22 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/comments/valine.html:
--------------------------------------------------------------------------------
1 | {{- if .Site.Params.valine.visitor -}}
2 |
3 | 文章阅读量
4 | 0
5 |
6 |
7 | {{- end }}
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/navbar/icons/light-dark-toggle.html:
--------------------------------------------------------------------------------
1 | {{ if $.Param "enableDarkMode" }}
2 |
5 |
8 |
21 | {{ end }}
22 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/comments/gitment.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
19 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/_default/sitemap.xml:
--------------------------------------------------------------------------------
1 | {{ printf "" | safeHTML }}
2 |
4 | {{ range .Data.Pages }}
5 |
6 | {{ .Permalink }}{{ if not .Lastmod.IsZero }}
7 | {{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}{{ end }}{{ with .Sitemap.ChangeFreq }}
8 | {{ . }}{{ end }}{{ if ge .Sitemap.Priority 0.0 }}
9 | {{ .Sitemap.Priority }}{{ end }}{{ if .IsTranslated }}{{ range .Translations }}
10 | {{ end }}
15 | {{ end }}
20 |
21 | {{ end }}
22 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/main/component/breadcrumb.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/config/_default/config.toml:
--------------------------------------------------------------------------------
1 | baseURL = "http://example.org"
2 | title = "Hugo Zdoc Theme"
3 | theme = "zdoc"
4 |
5 | defaultContentLanguage = "en"
6 | defaultContentLanguageInSubdir = false
7 | hasCJKLanguage = false
8 |
9 | copyright = "©{year}, All Rights Reserved"
10 | timeout = 10000
11 | enableEmoji = true
12 | paginate = 13
13 | rssLimit = 100
14 |
15 | googleAnalytics = ""
16 |
17 | disableKinds = ["taxonomyTerm"]
18 |
19 | [markup]
20 | [markup.goldmark]
21 | [markup.goldmark.renderer]
22 | hardWraps = true
23 | unsafe = true
24 | xHTML = true
25 | [markup.highlight]
26 | codeFences = true
27 | lineNos = true
28 | lineNumbersInTable = true
29 | noClasses = false
30 | [markup.tableOfContents]
31 | endLevel = 4
32 | ordered = false
33 | startLevel = 2
34 |
35 | [outputs]
36 | home = ["HTML", "RSS", "SearchIndex"]
37 |
38 | [outputFormats]
39 | [outputFormats.SearchIndex]
40 | mediaType = "application/json"
41 | baseName = "index"
42 | isPlainText = true
43 | notAlternative = true
44 |
45 | [taxonomies]
46 | tag = "tags"
47 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2020 Ryan
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/themes/zdoc/assets/js/helper/fadeinout.js:
--------------------------------------------------------------------------------
1 | var fadeOut = function(node, duration) {
2 | node.style.opacity = 1;
3 |
4 | var start = performance.now();
5 |
6 | requestAnimationFrame(function tick(timestamp) {
7 | var easing = (timestamp - start) / duration;
8 | node.style.opacity = Math.max(1 - easing, 0);
9 |
10 | if (easing < 1) {
11 | requestAnimationFrame(tick);
12 | } else {
13 | node.style.opacity = '';
14 | node.style.display = 'none';
15 | }
16 | });
17 | }
18 |
19 | var fadeIn = function (node, duration) {
20 | if (getComputedStyle(node).display !== 'none') return;
21 |
22 | if (node.style.display === 'none') {
23 | node.style.display = '';
24 | } else {
25 | node.style.display = 'block';
26 | }
27 | node.style.opacity = 0;
28 |
29 | var start = performance.now();
30 |
31 | requestAnimationFrame(function tick(timestamp) {
32 | var easing = (timestamp - start) / duration;
33 | node.style.opacity = Math.min(easing, 1);
34 |
35 | if (easing < 1) {
36 | requestAnimationFrame(tick);
37 | } else {
38 | node.style.opacity = '';
39 | }
40 | });
41 | }
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: ZDoc
3 | description: Hugo ZDoc theme landing page
4 | date: 2020-01-26T04:15:05+09:00
5 | draft: false
6 | updatesBanner: "Banner - [Hugo ZDoc theme](https://github.com/zzossig/hugo-theme-zdoc) just arrived"
7 | landingImage: favicon/android-icon-192x192.png
8 | landingTitle:
9 | - Hugo ZDoc theme
10 | landingText:
11 | - Make a documentation with hugo zdoc theme!
12 | titleColor:
13 | textColor:
14 | spaceBetweenTitleText: 25
15 | buttons:
16 | - link: docs/gettingstarted/quickstart
17 | text: GET STARTED
18 | color: primary
19 | - link: https://github.com/zzossig/hugo-theme-zdoc
20 | text: DOWNLOAD
21 | color: default
22 | # shields:
23 | # - link: https://github.com/zzossig/hugo-theme-zdoc
24 | # image: https://img.shields.io/github/forks/zzossig/hugo-theme-zdoc?label=Fork&style=social
25 | # alt: Hugo ZDoc theme github forks
26 | # - link: https://github.com/zzossig/hugo-theme-zdoc
27 | # image: https://img.shields.io/github/stars/zzossig/hugo-theme-zdoc?label=Star&style=social
28 | # alt: Hugo ZDoc theme github stars
29 | ---
30 |
31 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/ko/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: ZDoc
3 | description: Hugo ZDoc theme landing page
4 | date: 2020-01-26T04:15:05+09:00
5 | draft: false
6 | updatesBanner: "Banner - [Hugo ZDoc theme](https://github.com/zzossig/hugo-theme-zdoc) just arrived"
7 | landingImage: favicon/android-icon-192x192.png
8 | landingTitle:
9 | - Hugo ZDoc theme
10 | landingText:
11 | - Make a documentation with hugo zdoc theme!
12 | titleColor:
13 | textColor:
14 | spaceBetweenTitleText: 25
15 | buttons:
16 | - link: docs/gettingstarted/quickstart
17 | text: GET STARTED
18 | color: primary
19 | - link: https://github.com/zzossig/hugo-theme-zdoc
20 | text: DOWNLOAD
21 | color: default
22 | # shields:
23 | # - link: https://github.com/zzossig/hugo-theme-zdoc
24 | # image: https://img.shields.io/github/forks/zzossig/hugo-theme-zdoc?label=Fork&style=social
25 | # alt: Hugo ZDoc theme github forks
26 | # - link: https://github.com/zzossig/hugo-theme-zdoc
27 | # image: https://img.shields.io/github/stars/zzossig/hugo-theme-zdoc?label=Star&style=social
28 | # alt: Hugo ZDoc theme github stars
29 | ---
30 |
31 |
--------------------------------------------------------------------------------
/themes/zdoc/LICENSE.md:
--------------------------------------------------------------------------------
1 | The MIT License
2 |
3 | Copyright (c) 2020 zzossig
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in
13 | all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | THE SOFTWARE.
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/pages/_list.scss:
--------------------------------------------------------------------------------
1 | #list-main {
2 | position: relative;
3 |
4 | @include flexbox();
5 | @include flex-direction(column);
6 | @include themify($themes) {
7 | background-color: themed('body-background-color');
8 |
9 | &[data-dir="ltr"] {
10 | border-right: 1px solid themed('border-line-color');
11 | border-left: 1px solid themed('border-line-color');
12 | }
13 |
14 | &[data-dir="rtl"] {
15 | border-left: 1px solid themed('border-line-color');
16 | border-right: 1px solid themed('border-line-color');
17 | }
18 | }
19 | }
20 |
21 | #list-menu {
22 | position: relative;
23 | }
24 |
25 | #list-side {
26 | position: relative;
27 | }
28 |
29 | .list-section {
30 | &__item {
31 | margin: auto;
32 | padding: 0.25rem 0;
33 | width: 95%;
34 | border-radius: 0.2rem;
35 |
36 | &--link {
37 | display: inline-block;
38 | font-size: 1rem;
39 | font-family: $title-font;
40 | margin-top: 0.5rem;
41 | margin-bottom: 0.125rem;
42 | }
43 |
44 | &--desc {
45 | font-size: 1rem;
46 | margin: 0.25rem 0;
47 | }
48 | }
49 | }
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/layout/_footer.scss:
--------------------------------------------------------------------------------
1 | .bot {
2 | @include themify($themes) {
3 | background-color: themed('navbar-background-color');
4 | }
5 | }
6 | .footer {
7 | @include themify($themes) {
8 | border-top: 1px solid themed('border-line-color');
9 | }
10 |
11 | padding: 1rem;
12 | text-align: center;
13 |
14 | &__section {
15 | @include flexbox();
16 | @include flex-direction(column);
17 | @include flex-grow(1);
18 | @include align-items(flex-start);
19 |
20 | &--wrapper {
21 | @include flexbox();
22 | @media only screen and (max-width: 600px) {
23 | @include flex-direction(column);
24 | }
25 | }
26 |
27 | &--title {
28 | font-family: $title-font;
29 | font-size: 1rem;
30 | font-weight: bold;
31 | margin: 1rem 0 0.5rem 0;
32 | }
33 |
34 | &--link {
35 | display: block;
36 | text-align: left;
37 | padding: 0.15rem 0.35rem;
38 | }
39 | }
40 |
41 | &__contents {
42 | width: 100%;
43 | margin: 2rem 0;
44 |
45 | @include flexbox();
46 | @include align-items(flex-start);
47 | @include flex-direction(column);
48 | }
49 | }
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/header/blog-header-text.html:
--------------------------------------------------------------------------------
1 | {{ if $.Params.header }}
2 | {{ range $.Params.header }}
3 | {{ if eq .type "text" }}
4 |
24 | {{ end }}
25 | {{ end }}
26 | {{ end }}
--------------------------------------------------------------------------------
/themes/zdoc/layouts/_default/baseof.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | {{ block "title" . }}{{ .Title }} – {{ .Site.Title }}{{ end }}
8 | {{ partial "head/scripts" . }}
9 | {{ partialCached "head/styles" . }}
10 | {{ partial "head/meta" . }}
11 | {{ partial "head/meta_json_ld" . }}
12 | {{ partial "head/services" . }}
13 |
14 |
15 |
16 |
22 |
23 |
24 | {{ partial "drawer/drawer.html" . }}
25 | {{ partial "navbar/navbar.html" . }}
26 | {{ block "header" . }}{{ end }}
27 | {{ block "main" . }}{{ end }}
28 | {{ partial "footer/footer.html" . }}
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/config/_default/config.toml:
--------------------------------------------------------------------------------
1 | baseURL = "https://fuckcloudnative.io/envoy-handbook"
2 | # RelativeURLs=true
3 | # CanonifyURLs=true
4 | title = "Envoy 中文指南"
5 | theme = ["zdoc"]
6 |
7 | defaultContentLanguage = "zh"
8 | defaultContentLanguageInSubdir = false
9 | hasCJKLanguage = true
10 |
11 | copyright = "©{year}. 云原生实验室"
12 | timeout = 10000
13 | enableEmoji = true
14 | paginate = 13
15 | rssLimit = 100
16 |
17 | googleAnalytics = "UA-145022311-1"
18 |
19 | disableKinds = ["taxonomyTerm"]
20 |
21 | [markup]
22 | [markup.goldmark]
23 | [markup.goldmark.renderer]
24 | hardWraps = true
25 | unsafe = true
26 | xHTML = true
27 | [markup.highlight]
28 | codeFences = true
29 | lineNos = true
30 | lineNumbersInTable = true
31 | noClasses = false
32 | [markup.tableOfContents]
33 | endLevel = 4
34 | ordered = false
35 | startLevel = 2
36 |
37 | [outputs]
38 | home = ["HTML", "RSS", "SearchIndex"]
39 |
40 | [outputFormats]
41 | [outputFormats.SearchIndex]
42 | mediaType = "application/json"
43 | baseName = "index"
44 | isPlainText = true
45 | notAlternative = true
46 |
47 | [taxonomies]
48 | tag = "tags"
49 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/navbar/icons/select-lang.html:
--------------------------------------------------------------------------------
1 | {{ if $.Param "enableLangChange" }}
2 |
3 |
6 |
7 | {{ $siteLanguages := .Site.Languages }}
8 | {{ $pageLang := .Page.Lang }}
9 | {{ range .Page.AllTranslations }}
10 | {{ $translation := . }}
11 | {{ range $siteLanguages }}
12 | {{ if eq $translation.Lang .Lang }}
13 | {{ $selected := false }}
14 | {{ if eq $pageLang .Lang }}
15 | {{ if .LanguageName }}
16 |
{{ .LanguageName }}
17 | {{ end }}
18 | {{ else }}
19 | {{ if .LanguageName }}
20 |
{{ .LanguageName }}
21 | {{ end }}
22 | {{ end }}
23 | {{ end }}
24 | {{ end }}
25 | {{ end }}
26 |
27 |
28 | {{ end }}
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/components/_tag.scss:
--------------------------------------------------------------------------------
1 | .tag {
2 | display: inline-block;
3 | padding: 0.2rem 0;
4 | width: 100%;
5 | text-decoration: none !important;
6 |
7 | @include themify($themes) {
8 | color: darken(themed('subtitle-color'), 5%);
9 | @include on-event {
10 | color: themed('link-hover');
11 | }
12 | }
13 |
14 | &__wrapper {
15 | padding: 0.3rem 0;
16 | margin: auto 0;
17 | }
18 |
19 | &__text {
20 | color: inherit;
21 | }
22 |
23 | &__num {
24 | color: inherit;
25 | }
26 |
27 | &-cloud {
28 | position: relative;
29 |
30 | &__label {
31 | font-family: $title-font;
32 | font-size: 1rem;
33 | margin: 3.5rem 0 0 0;
34 | margin-left: 1.25rem;
35 | padding-left: 2.5rem;
36 |
37 | @include themify($themes) {
38 | color: themed('toc-label-color');
39 | }
40 | }
41 |
42 | &__tags {
43 | // position: -webkit-sticky;
44 | // position: sticky;
45 | top: $grid-nav-height;
46 | padding: 1rem;
47 | padding-left: 3rem;
48 | height: calc(100vh - $grid-nav-height);
49 | overflow-y: auto;
50 | z-index: z('menu');
51 | }
52 | }
53 | }
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/abstracts/_variables.scss:
--------------------------------------------------------------------------------
1 | @import "../themes/theme";
2 |
3 | $text-font-stack: 'Muli',
4 | avenir,
5 | 'helvetica neue', helvetica,
6 | ubuntu,
7 | roboto, noto,
8 | 'segoe ui', arial,
9 | sans-serif !default;
10 | $code-font-stack: Consolas,
11 | Monaco,
12 | Menlo,
13 | "DejaVu Sans Mono",
14 | "Bitstream Vera Sans Mono",
15 | "Courier New",
16 | "Lucida Console",
17 | "Lucida Sans Typewriter",
18 | "Liberation Mono",
19 | "Nimbus Mono L",
20 | Monaco,
21 | Courier,
22 | monospace !default;
23 |
24 | $z-indexes: ("drawer", "modal", "dropdown", "navbar", "header", "gtt", "clipboard", "grid", "search-btn", "search", "menu", "content", "landing", "footer", "taxo", "toc", "gallery-mask", "section-title", "highlight");
25 |
26 | $breakpoints: (
27 | 'xs': 0,
28 | 'sm': 600px,
29 | 'md': 960px,
30 | 'lg': 1280px,
31 | 'xl': 1960px,
32 | );
33 |
34 | $grid-max-width: 1289px;
35 | $grid-nav-height: 50px;
36 | $grid-body-width: 769px;
37 | $grid-side-width: 240px;
38 | $drawer-width: 240px;
39 | $menu-title-height: 30px;
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/components/_breadcrumb.scss:
--------------------------------------------------------------------------------
1 | .breadcrumb {
2 | position: relative;
3 | &[data-is-blog="true"] {
4 | margin: 1.5rem 1rem 0 1rem;
5 | padding-bottom: 1.5rem;
6 |
7 | @include themify($themes) {
8 | border-bottom: 1px solid themed('hr-color');
9 | background-color: themed('breadcrumb-background-color');
10 | }
11 | }
12 |
13 | &[data-is-blog="false"] {
14 | margin: auto 1rem;
15 | padding: 0.5rem 0;
16 | }
17 |
18 | ol {
19 | @include flexbox();
20 | @include align-items(center);
21 | @include flex-wrap(wrap);
22 | }
23 |
24 | li {
25 | display: inline;
26 | font-size: 0.9rem;
27 |
28 | @include truncate(300px);
29 |
30 | a {
31 | @include themify($themes) {
32 | color: themed('breadcrumb-item-color');
33 | @include on-event {
34 | color: themed('link-hover');
35 | }
36 | }
37 | }
38 |
39 | &:last-child {
40 | @include themify($themes) {
41 | color: themed('breadcrumb-item-active-color');
42 | }
43 | }
44 | }
45 |
46 | li+li:before {
47 | padding: 0.5rem;
48 | content: "»";
49 | @include themify($themes) {
50 | color: themed('breadcrumb-item-color');
51 | }
52 | }
53 | }
--------------------------------------------------------------------------------
/toggle-menu.html:
--------------------------------------------------------------------------------
1 | {{ if $.Param "enableWideBlogSwitch" }}
2 |
25 | {{ end }}
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/comments/changyan.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/main/component/pagination.html:
--------------------------------------------------------------------------------
1 | {{ $pag := $.Paginator }}
2 | {{ $window := $.Site.Params.paginateWindow | default 1 }}
3 | {{ if gt $pag.TotalPages 1 }}
4 | {{ $total := $pag.TotalPages }}
5 | {{ $size := add 5 (add $window $window) }}
6 | {{ $cur := $pag.PageNumber }}
7 | {{ if gt $total $size }}
8 | {{ if lt $cur (sub $size (add $window 1)) }}
9 | {{ $.Scratch.Set "show" (seq 1 (sub $size 2)) }}
10 | {{ else if lt (sub $total $cur) (sub $size (add $window 2)) }}
11 | {{ $.Scratch.Set "show" (seq (add (sub $total $size) 3) $total) }}
12 | {{ else }}
13 | {{ $.Scratch.Set "show" (seq (sub $cur $window) (add $cur $window)) }}
14 | {{ end }}
15 | {{ $.Scratch.Add "show" 1 }}
16 | {{ $.Scratch.Add "show" $total }}
17 | {{ else }}
18 | {{ $.Scratch.Set "show" (seq 1 $total) }}
19 | {{ end }}
20 |
31 | {{ end }}
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/en/blog/rich-content.md:
--------------------------------------------------------------------------------
1 | +++
2 | author = "Hugo Authors"
3 | title = "Rich Content"
4 | date = "2019-03-10"
5 | # description = "A brief description of Hugo Shortcodes"
6 | tags = [
7 | "shortcodes",
8 | "privacy",
9 | ]
10 | image = "images/mountain.jpg"
11 | +++
12 |
13 | Lorem est tota propiore conpellat pectoribus de
14 | pectora summo. Redit teque digerit hominumque toris verebor lumina non cervice
15 | subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc
16 | caluere tempus
17 |
18 | Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugo-s-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.
19 |
20 | ---
21 |
22 | ## Instagram Simple Shortcode
23 |
24 | {{< instagram_simple BGvuInzyFAe hidecaption >}}
25 |
26 |
27 |
28 | ---
29 |
30 | ## YouTube Privacy Enhanced Shortcode
31 |
32 | {{< youtube ZJthWmvUzzc >}}
33 |
34 |
35 |
36 | ---
37 |
38 | ## Twitter Simple Shortcode
39 |
40 | {{< twitter_simple 1085870671291310081 >}}
41 |
42 |
43 |
44 | ---
45 |
46 | ## Vimeo Simple Shortcode
47 |
48 | {{< vimeo_simple 48912912 >}}
49 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/content/ko/blog/rich-content.md:
--------------------------------------------------------------------------------
1 | +++
2 | author = "Hugo Authors"
3 | title = "Rich Content"
4 | date = "2019-03-10"
5 | # description = "A brief description of Hugo Shortcodes"
6 | tags = [
7 | "shortcodes",
8 | "privacy",
9 | ]
10 | image = "images/mountain.jpg"
11 | +++
12 |
13 | Lorem est tota propiore conpellat pectoribus de
14 | pectora summo. Redit teque digerit hominumque toris verebor lumina non cervice
15 | subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc
16 | caluere tempus
17 |
18 | Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugo-s-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.
19 |
20 | ---
21 |
22 | ## Instagram Simple Shortcode
23 |
24 | {{< instagram_simple BGvuInzyFAe hidecaption >}}
25 |
26 |
27 |
28 | ---
29 |
30 | ## YouTube Privacy Enhanced Shortcode
31 |
32 | {{< youtube ZJthWmvUzzc >}}
33 |
34 |
35 |
36 | ---
37 |
38 | ## Twitter Simple Shortcode
39 |
40 | {{< twitter_simple 1085870671291310081 >}}
41 |
42 |
43 |
44 | ---
45 |
46 | ## Vimeo Simple Shortcode
47 |
48 | {{< vimeo_simple 48912912 >}}
49 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/header/blog-header-img.html:
--------------------------------------------------------------------------------
1 | {{ if .Params.header }}
2 | {{ range .Params.header }}
3 | {{ if eq .type "img" }}
4 |
25 | {{ end }}
26 | {{ end }}
27 | {{ end }}
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/comments/utterances.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
30 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/main/component/toggle-sidebar.html:
--------------------------------------------------------------------------------
1 | {{ if $.Param "enableTocSwitch" }}
2 |
26 | {{ end }}
--------------------------------------------------------------------------------
/assets/sass/abstracts/_variables.scss:
--------------------------------------------------------------------------------
1 | @import "../themes/theme";
2 |
3 | $text-font-stack: 'JetBrainsMono-Regular',
4 | 'Noto Serif SC',
5 | 'Muli',
6 | avenir,
7 | 'helvetica neue', helvetica,
8 | ubuntu,
9 | roboto, noto,
10 | 'segoe ui', arial,
11 | sans-serif !default;
12 | $code-font-stack: JetBrainsMono-Regular,
13 | Monaco,
14 | Menlo,
15 | "DejaVu Sans Mono",
16 | "Bitstream Vera Sans Mono",
17 | "Courier New",
18 | "Lucida Console",
19 | "Lucida Sans Typewriter",
20 | "Liberation Mono",
21 | "Nimbus Mono L",
22 | Monaco,
23 | Courier,
24 | monospace !default;
25 |
26 | $z-indexes: ("drawer", "modal", "dropdown", "navbar", "header", "gtt", "clipboard", "grid", "search-btn", "search", "menu", "content", "landing", "footer", "taxo", "toc", "gallery-mask", "section-title", "highlight");
27 |
28 | $breakpoints: (
29 | 'xs': 0,
30 | 'sm': 600px,
31 | 'md': 960px,
32 | 'lg': 1280px,
33 | 'xl': 1960px,
34 | );
35 |
36 | $grid-max-width: 1289px;
37 | $grid-nav-height: 50px;
38 | $grid-body-width: 769px;
39 | $grid-side-width: 240px;
40 | $drawer-width: 240px;
41 | $menu-title-height: 30px;
42 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/main/component/toggle-menu.html:
--------------------------------------------------------------------------------
1 | {{ if $.Param "enableWideBlogSwitch" }}
2 |
25 | {{ end }}
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/drawer/drawer.html:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
13 | {{ partial "main/sections/list-menu.html" . }}
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/components/_drawer.scss:
--------------------------------------------------------------------------------
1 | .drawer {
2 | position: fixed;
3 | top: 0;
4 | left: -100%;
5 | z-index: z('drawer');
6 | width: $drawer-width;
7 | height: 100%;
8 |
9 | @include transition(all, 0.3s, ease-out);
10 | @include themify($themes) {
11 | background-color: themed('body-background-color');
12 | }
13 |
14 | &__header {
15 | height: $grid-nav-height;
16 | width: 100%;
17 |
18 | @include flexbox();
19 | @include themify($themes) {
20 | background-color: themed('navbar-background-color');
21 | box-shadow: 0 1px 0 rgba(12,13,14,0.1), 0 1px 6px rgba(60,65,70,0.1);
22 | }
23 |
24 | &--text {
25 | width: 100%;
26 | height: 100%;
27 | padding: 1rem;
28 |
29 | @include flexbox();
30 | @include align-items(center);
31 | @include justify-content(flex-start);
32 | @include themify($themes) {
33 | color: themed('title-color');
34 | }
35 | }
36 | }
37 |
38 | &__body {
39 | height: 100%;
40 | width: 100%;
41 | overflow-y: auto;
42 | }
43 |
44 | &__close {
45 | width: $grid-nav-height;
46 | height: 100%;
47 | cursor: pointer;
48 |
49 | @include flexbox();
50 | @include align-items(center);
51 | @include justify-content(center);
52 | @include themify($themes) {
53 | color: themed('body-color');
54 | @include on-event {
55 | color: themed('active-font-color');
56 | }
57 | }
58 | }
59 | }
--------------------------------------------------------------------------------
/themes/zdoc/layouts/shortcodes/tabs.html:
--------------------------------------------------------------------------------
1 | {{ $id := substr (md5 .Inner) 0 16 }}
2 |
3 |
4 | {{ range .Params }}
5 |
6 | {{ end }}
7 |
8 | {{ .Inner }}
9 |
10 |
11 |
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/layout/_header.scss:
--------------------------------------------------------------------------------
1 | .top {
2 | @include themify($themes) {
3 | background-color: themed('single-header-title-background-color');
4 | }
5 | }
6 |
7 | .header {
8 | @include flexbox();
9 | @include justify-content(center);
10 | @include align-items(center);
11 | @include flex-direction(column);
12 |
13 | &__wrapper {
14 | @include themify($themes) {
15 | border-bottom: 1px solid themed('border-line-color');
16 | }
17 |
18 | .title {
19 | font-size: 3rem;
20 | font-weight: 900;
21 | font-family: $title-font;
22 | line-height: 3rem;
23 | overflow-wrap: break-word;
24 | margin: 2rem 1.5rem;
25 |
26 | @include themify($themes) {
27 | color: themed("title-color");
28 | }
29 | }
30 | }
31 | }
32 |
33 | .blog-header {
34 | @include flexbox();
35 | @include justify-content(center);
36 | @include flex-direction(column);
37 |
38 | &__title {
39 | line-height: 1.1;
40 | font-weight: 900;
41 | font-family: $title-font;
42 | font-size: 3rem;
43 | line-height: 3rem;
44 | overflow-wrap: break-word;
45 |
46 | @include themify($themes) {
47 | color: themed("title-color");
48 | }
49 | }
50 |
51 | &__subtitle {
52 | line-height: 1.2;
53 | }
54 |
55 | &__align-left {
56 | @include align-items(flex-start);
57 | }
58 |
59 | &__align-center {
60 | @include align-items(center);
61 | }
62 |
63 | &__align-right {
64 | @include align-items(flex-end);
65 | }
66 | }
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/components/_language.scss:
--------------------------------------------------------------------------------
1 | .lang {
2 | width: 100%;
3 | font-size: 17.2px;
4 |
5 | @include flexbox();
6 | @include justify-content(space-between);
7 | @include align-items(center);
8 |
9 | &__dropdown {
10 | outline: none;
11 | cursor: pointer;
12 | border: none;
13 |
14 | @include flexbox();
15 | @include align-items(center);
16 | @include justify-content(center);
17 |
18 | &--content {
19 | padding: 0.25rem 0;
20 | max-width: 120px;
21 | border-radius: 0.175rem;
22 |
23 | @include truncate(120px);
24 | @include box-shadow(0, 1px, 3px, 0, rgba(0, 0, 0, 0.4));
25 | @include themify($themes) {
26 | background-color: themed('dropdown-background-color');
27 | a {
28 | text-decoration: none;
29 | color: themed('body-color');
30 |
31 | @include on-event {
32 | color: inherit;
33 | background-color: themed('dropdown-hover-background-color');
34 | }
35 |
36 | &.active {
37 | font-weight: bold;
38 | color: themed('active-font-color');
39 | background-color: themed('dropdown-item-active-background-color');
40 | }
41 | }
42 | }
43 | }
44 |
45 | &--item {
46 | padding: 0.25rem 0.75rem;
47 | width: 100%;
48 | height: 100%;
49 | text-decoration: none;
50 | display: block;
51 | font-size: 1rem;
52 |
53 | @include truncate(120px);
54 | }
55 | }
56 | }
--------------------------------------------------------------------------------
/themes/zdoc/data/flowchartjs.json:
--------------------------------------------------------------------------------
1 | {
2 | "x": 0,
3 | "y": 0,
4 | "line-width": 3,
5 | "line-length": 50,
6 | "text-margin": 10,
7 | "font-size": 14,
8 | "font-color": "black",
9 | "line-color": "black",
10 | "element-color": "black",
11 | "fill": "white",
12 | "yes-text": "yes",
13 | "no-text": "no",
14 | "arrow-end": "block",
15 | "scale": 1,
16 | "symbols": {
17 | "start": {
18 | "font-color": "red",
19 | "element-color": "green",
20 | "fill": "yellow"
21 | },
22 | "end": {
23 | "class": "end-element"
24 | }
25 | },
26 | "flowstate": {
27 | "past": {
28 | "fill": "#CCCCCC",
29 | "font-size": 12
30 | },
31 | "current": {
32 | "fill": "yellow",
33 | "font-color": "red",
34 | "font-weight": "bold"
35 | },
36 | "future": {
37 | "fill": "#FFFF99"
38 | },
39 | "request": {
40 | "fill": "blue"
41 | },
42 | "invalid": {
43 | "fill": "#444444"
44 | },
45 | "approved": {
46 | "fill": "#58C4A3",
47 | "font-size": 12,
48 | "yes-text": "APPROVED",
49 | "no-text": "n/a"
50 | },
51 | "rejected": {
52 | "fill": "#C45879",
53 | "font-size": 12,
54 | "yes-text": "n/a",
55 | "no-text": "REJECTED"
56 | }
57 | }
58 | }
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/components/_codetab.scss:
--------------------------------------------------------------------------------
1 | .codetab {
2 | position: relative;
3 |
4 | &__links {
5 | position: absolute;
6 | top: 0;
7 | left: 0;
8 | height: 27px;
9 | z-index: z('clipboard');
10 | border-top-left-radius: 0.25rem;
11 |
12 | @include flexbox();
13 | @include align-items(center);
14 | @include justify-content(flex-start);
15 | @include themify($codeblock) {
16 | background-color: themed('content-pre-header-background-color');
17 | }
18 | }
19 |
20 | &__link {
21 | height: 27px;
22 | border: none;
23 | outline: none;
24 | cursor: pointer;
25 | font-size: 13.8px;
26 | font-family: $title-font;
27 | text-transform: capitalize;
28 | padding: 0.25rem 0.5rem;
29 |
30 | &:first-child {
31 | border-top-left-radius: 0.25rem;
32 | }
33 |
34 | @include transition(all, 0.2s, ease-in);
35 | @include themify($themes) {
36 | color: themed('title-color');
37 | border-top: 1px solid transparent;
38 | &.active {
39 | border-top: 1px solid themed('title-color');
40 | }
41 | }
42 |
43 | @include themify($codeblock) {
44 | background-color: themed('content-pre-header-background-color');
45 |
46 | &.active {
47 | background-color: themed('content-pre-background-color');
48 | }
49 |
50 | @include on-event {
51 | background-color: themed('content-pre-background-color');
52 | }
53 | }
54 | }
55 |
56 | &__content {
57 | display: none;
58 | }
59 | }
--------------------------------------------------------------------------------
/themes/zdoc/layouts/shortcodes/img.html:
--------------------------------------------------------------------------------
1 |
2 | {{ with .Get "link"}}{{ end }}
3 | {{ $base := (findRE "/[a-zA-Z0-9_]+/" .Site.BaseURL | default "/") }}
4 |
5 | {{ if .Get "link"}}{{ end }}
6 | {{ if or (or (.Get "title") (.Get "caption")) (.Get "attr")}}
7 | {{ if isset .Params "title" }}
8 | {{ .Get "title" }}:{{ end }}
9 | {{ if or (.Get "caption") (.Get "attr")}}
10 | {{ .Get "caption" }}
11 | {{ with .Get "attrlink"}} {{ end }}
12 | {{ .Get "attr" }}
13 | {{ if .Get "attrlink"}} {{ end }}
14 | {{ end }}
15 |
16 | {{ end }}
17 |
--------------------------------------------------------------------------------
/static/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "manifest_version": 2,
3 | "name": "Hugo Zdoc theme",
4 | "short_name": "Hugo Zdoc theme",
5 | "version": "1.0.0",
6 | "default_locale": "en",
7 | "description": "Hugo simple documentation theme",
8 | "start_url": "https://themes.gohugo.io/theme/hugo-theme-zdoc/",
9 | "icons": [
10 | {
11 | "src": "favicon/android-icon-36x36.png",
12 | "sizes": "36x36",
13 | "type": "image/png",
14 | "density": "0.75"
15 | },
16 | {
17 | "src": "favicon/android-icon-48x48.png",
18 | "sizes": "48x48",
19 | "type": "image/png",
20 | "density": "1.0"
21 | },
22 | {
23 | "src": "favicon/android-icon-72x72.png",
24 | "sizes": "72x72",
25 | "type": "image/png",
26 | "density": "1.5"
27 | },
28 | {
29 | "src": "favicon/android-icon-96x96.png",
30 | "sizes": "96x96",
31 | "type": "image/png",
32 | "density": "2.0"
33 | },
34 | {
35 | "src": "favicon/android-icon-144x144.png",
36 | "sizes": "144x144",
37 | "type": "image/png",
38 | "density": "3.0"
39 | },
40 | {
41 | "src": "favicon/android-icon-192x192.png",
42 | "sizes": "192x192",
43 | "type": "image/png",
44 | "density": "4.0"
45 | },
46 | {
47 | "src": "favicon/android-icon-512x512.png",
48 | "sizes": "512x512",
49 | "type": "image/png",
50 | "density": "4.0"
51 | }
52 | ],
53 | "theme_color": "#0071bc",
54 | "background_color": "#fff",
55 | "display": "standalone"
56 | }
57 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/shortcodes/codes.html:
--------------------------------------------------------------------------------
1 | {{ $id := substr (md5 .Inner) 0 16 }}
2 |
3 |
4 | {{ range .Params }}
5 |
6 | {{ end }}
7 |
8 | {{ .Inner }}
9 |
10 |
11 |
--------------------------------------------------------------------------------
/themes/zdoc/assets/js/helper/getParents.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Get all DOM element up the tree that contain a class, ID, or data attribute
3 | * @param {Node} elem The base element
4 | * @param {String} selector The class, id, data attribute, or tag to look for
5 | * @return {Array} Null if no match
6 | */
7 | var getParents = function (elem, selector) {
8 |
9 | var parents = [];
10 | var firstChar;
11 | if (selector) {
12 | firstChar = selector.charAt(0);
13 | }
14 |
15 | // Get matches
16 | for (; elem && elem !== document; elem = elem.parentNode) {
17 | if (selector) {
18 |
19 | // If selector is a class
20 | if (firstChar === '.') {
21 | if (elem.classList.contains(selector.substr(1))) {
22 | parents.push(elem);
23 | }
24 | }
25 |
26 | // If selector is an ID
27 | if (firstChar === '#') {
28 | if (elem.id === selector.substr(1)) {
29 | parents.push(elem);
30 | }
31 | }
32 |
33 | // If selector is a data attribute
34 | if (firstChar === '[') {
35 | if (elem.hasAttribute(selector.substr(1, selector.length - 1))) {
36 | parents.push(elem);
37 | }
38 | }
39 |
40 | // If selector is a tag
41 | if (elem.tagName.toLowerCase() === selector) {
42 | parents.push(elem);
43 | }
44 |
45 | } else {
46 | parents.push(elem);
47 | }
48 |
49 | }
50 |
51 | // Return parents if any exist
52 | if (parents.length === 0) {
53 | return null;
54 | } else {
55 | return parents;
56 | }
57 |
58 | };
--------------------------------------------------------------------------------
/themes/zdoc/static/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "manifest_version": 2,
3 | "name": "Hugo Zdoc theme",
4 | "short_name": "Hugo Zdoc theme",
5 | "version": "1.0.0",
6 | "default_locale": "en",
7 | "description": "Hugo simple documentation theme",
8 | "start_url": "https://themes.gohugo.io/theme/hugo-theme-zdoc/",
9 | "icons": [
10 | {
11 | "src": "favicon/android-icon-36x36.png",
12 | "sizes": "36x36",
13 | "type": "image/png",
14 | "density": "0.75"
15 | },
16 | {
17 | "src": "favicon/android-icon-48x48.png",
18 | "sizes": "48x48",
19 | "type": "image/png",
20 | "density": "1.0"
21 | },
22 | {
23 | "src": "favicon/android-icon-72x72.png",
24 | "sizes": "72x72",
25 | "type": "image/png",
26 | "density": "1.5"
27 | },
28 | {
29 | "src": "favicon/android-icon-96x96.png",
30 | "sizes": "96x96",
31 | "type": "image/png",
32 | "density": "2.0"
33 | },
34 | {
35 | "src": "favicon/android-icon-144x144.png",
36 | "sizes": "144x144",
37 | "type": "image/png",
38 | "density": "3.0"
39 | },
40 | {
41 | "src": "favicon/android-icon-192x192.png",
42 | "sizes": "192x192",
43 | "type": "image/png",
44 | "density": "4.0"
45 | },
46 | {
47 | "src": "favicon/android-icon-512x512.png",
48 | "sizes": "512x512",
49 | "type": "image/png",
50 | "density": "4.0"
51 | }
52 | ],
53 | "theme_color": "#FF6188",
54 | "background_color": "#2D2A2E",
55 | "display": "standalone"
56 | }
57 |
--------------------------------------------------------------------------------
/assets/sass/pages/_home.scss:
--------------------------------------------------------------------------------
1 | .home {
2 | &__landing {
3 | width: 100%;
4 |
5 | @include flexbox();
6 | @include align-items(center);
7 | @include justify-content(center);
8 |
9 | @media only screen and (max-width: 600px) {
10 | @include flex-direction(column);
11 | }
12 |
13 | &--img {
14 | margin: 0.5rem;
15 | z-index: z('landing');
16 | }
17 |
18 | &--txt {
19 | margin: 2.5rem 0.5rem;
20 | z-index: z('landing');
21 |
22 | .title {
23 | font-size: 54px;
24 | font-weight: 900;
25 | font-family: $title-font;
26 | }
27 |
28 | .text {
29 | font-size: 22px;
30 | }
31 |
32 | @media only screen and (max-width: 600px) {
33 | text-align: center;
34 | }
35 | }
36 |
37 | &--link {
38 | text-decoration: none !important;
39 | }
40 |
41 | &--btn {
42 | margin-top: 2.5rem;
43 | margin-right: 0.5rem;
44 | }
45 |
46 | &--btn2 {
47 | margin: 0.5rem;
48 | }
49 | }
50 |
51 | &__social {
52 | width: 100%;
53 | padding: 1rem 0;
54 |
55 | @include flexbox();
56 | @include justify-content(center);
57 |
58 | &--item {
59 | margin: 0 0.25rem;
60 | }
61 | }
62 |
63 | &__banner {
64 | width: 100%;
65 | padding: 0.75rem;
66 |
67 | @include flexbox();
68 | @include justify-content(center);
69 |
70 | &--wrapper {
71 | @include themify($themes) {
72 | background-color: themed('banner-background-color');
73 | }
74 | }
75 | }
76 | }
77 |
--------------------------------------------------------------------------------
/themes/zdoc/exampleSite/static/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "manifest_version": 2,
3 | "name": "Hugo Zdoc theme",
4 | "short_name": "Hugo Zdoc theme",
5 | "version": "1.0.0",
6 | "default_locale": "en",
7 | "description": "Hugo simple documentation theme",
8 | "start_url": "https://themes.gohugo.io/theme/hugo-theme-zdoc/",
9 | "icons": [
10 | {
11 | "src": "favicon/android-icon-36x36.png",
12 | "sizes": "36x36",
13 | "type": "image/png",
14 | "density": "0.75"
15 | },
16 | {
17 | "src": "favicon/android-icon-48x48.png",
18 | "sizes": "48x48",
19 | "type": "image/png",
20 | "density": "1.0"
21 | },
22 | {
23 | "src": "favicon/android-icon-72x72.png",
24 | "sizes": "72x72",
25 | "type": "image/png",
26 | "density": "1.5"
27 | },
28 | {
29 | "src": "favicon/android-icon-96x96.png",
30 | "sizes": "96x96",
31 | "type": "image/png",
32 | "density": "2.0"
33 | },
34 | {
35 | "src": "favicon/android-icon-144x144.png",
36 | "sizes": "144x144",
37 | "type": "image/png",
38 | "density": "3.0"
39 | },
40 | {
41 | "src": "favicon/android-icon-192x192.png",
42 | "sizes": "192x192",
43 | "type": "image/png",
44 | "density": "4.0"
45 | },
46 | {
47 | "src": "favicon/android-icon-512x512.png",
48 | "sizes": "512x512",
49 | "type": "image/png",
50 | "density": "4.0"
51 | }
52 | ],
53 | "theme_color": "#0071bc",
54 | "background_color": "#fff",
55 | "display": "standalone"
56 | }
57 |
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/pages/_home.scss:
--------------------------------------------------------------------------------
1 | .home {
2 | &__landing {
3 | width: 100%;
4 |
5 | @include flexbox();
6 | @include align-items(center);
7 | @include justify-content(center);
8 |
9 | @media only screen and (max-width: 600px) {
10 | @include flex-direction(column);
11 | }
12 |
13 | &--img {
14 | margin: 0.5rem;
15 | z-index: z('landing');
16 | }
17 |
18 | &--txt {
19 | margin: 2.5rem 0.5rem;
20 | z-index: z('landing');
21 |
22 | .title {
23 | font-size: 56px;
24 | font-weight: 900;
25 | font-family: $title-font;
26 | }
27 |
28 | .text {
29 | font-size: 22px;
30 | }
31 |
32 | @media only screen and (max-width: 600px) {
33 | text-align: center;
34 | }
35 | }
36 |
37 | &--link {
38 | text-decoration: none !important;
39 | }
40 |
41 | &--btn {
42 | margin-top: 2.5rem;
43 | margin-right: 0.5rem;
44 | }
45 |
46 | &--btn2 {
47 | margin: 0.5rem;
48 | }
49 | }
50 |
51 | &__social {
52 | width: 100%;
53 | padding: 1rem 0;
54 |
55 | @include flexbox();
56 | @include justify-content(center);
57 |
58 | &--item {
59 | margin: 0 0.25rem;
60 | }
61 | }
62 |
63 | &__banner {
64 | width: 100%;
65 | padding: 0.75rem;
66 |
67 | @include flexbox();
68 | @include justify-content(center);
69 |
70 | &--wrapper {
71 | @include themify($themes) {
72 | background-color: themed('banner-background-color');
73 | }
74 | }
75 | }
76 | }
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/head/meta_json_ld.html:
--------------------------------------------------------------------------------
1 |
48 |
--------------------------------------------------------------------------------
/assets/sass/components/_tab.scss:
--------------------------------------------------------------------------------
1 | .tab {
2 | position: relative;
3 | padding: 0.5rem 0;
4 | margin: 2rem 0;
5 |
6 | &__links {
7 | height: auto;
8 | border-top-left-radius: 0.25rem;
9 |
10 | @include flexbox();
11 | @include align-items(center);
12 | @include justify-content(flex-start);
13 | @include flex-wrap(wrap);
14 | }
15 |
16 | &__link {
17 | outline: none;
18 | border: none;
19 | cursor: pointer;
20 | @include themify($themes) {
21 | color: themed('body-color');
22 | }
23 | font-size: 13.8px;
24 | font-family: $title-font;
25 | text-transform: capitalize;
26 | padding: 0.5rem 0.75rem;
27 | border-top-left-radius: 0.25rem;
28 | border-top-right-radius: 0.25rem;
29 |
30 | @include themify($themes) {
31 | color: themed('navbar-title-color');
32 | background-color: themed('body-background-color');
33 |
34 | &.active {
35 | background-color: themed('body-background-color');
36 | border: 1px solid themed('hr-color');
37 | border-bottom: none;
38 | }
39 |
40 | @include on-event {
41 | color: themed('navbar-title-hover-color');
42 | background-color: themed('content-pre-header-background-color');
43 | }
44 | }
45 | }
46 |
47 | &__content {
48 | display: none;
49 | padding: 0 0.5rem;
50 | border-radius: 0.25rem;
51 | border-top-left-radius: 0;
52 |
53 | @include themify($themes) {
54 | border: 1px solid themed('hr-color');
55 | background-color: themed('body-background-color');
56 | }
57 | }
58 | }
--------------------------------------------------------------------------------
/layouts/_default/baseof.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | {{ block "title" . }}{{ .Title }} – {{ .Site.Title }}{{ end }}
8 | {{ partial "head/scripts" . }}
9 | {{ partialCached "head/styles" . }}
10 | {{ partial "head/meta" . }}
11 | {{ partial "head/meta_json_ld" . }}
12 | {{ partial "head/services" . }}
13 |
14 |
15 | {{ $themeOptions := .Site.Params.themeOptions }}
16 |
17 |
30 |
31 |
32 | {{ partial "drawer/drawer.html" . }}
33 | {{ partial "navbar/navbar.html" . }}
34 | {{ block "header" . }}{{ end }}
35 | {{ block "main" . }}{{ end }}
36 | {{ partial "body/custom-body.html" . }}
37 | {{ partial "footer/footer.html" . }}
38 |
39 |
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/footer/footer.html:
--------------------------------------------------------------------------------
1 | {{ if $.Param "enableFooter" }}
2 |
3 |
39 |
40 | {{ end }}
--------------------------------------------------------------------------------
/themes/zdoc/data/lib.toml:
--------------------------------------------------------------------------------
1 | # js
2 | [js.mermaid]
3 | sri = "sha256-wV/0jM5E/0V+KqyxUio2Ve5OAC/gweTTqdbnRX1fgAE="
4 | url = "https://jsdelivr.icloudnative.io/npm/mermaid@8.4.6/dist/mermaid.min.js"
5 |
6 | [js.katex]
7 | sri = "sha256-F/Xda58SPdcUCr+xhSGz9MA2zQBPb0ASEYKohl8UCHc="
8 | url = "https://jsdelivr.icloudnative.io/npm/katex@0.11.1/dist/katex.min.js"
9 |
10 | [js.katex_auto_render]
11 | sri = "sha256-90d2pnfw0r4K8CZAWPko4rpFXQsZvJhTBGYNkipDprI="
12 | url = "https://jsdelivr.icloudnative.io/npm/katex@0.11.1/dist/contrib/auto-render.min.js"
13 |
14 | [js.flowchartjs]
15 | sri = "sha256-xghRsaOFJXNxT9sgANknngHh3FjUQWrJUae7GP+2Atc="
16 | url = "https://jsdelivr.icloudnative.io/npm/flowchart.js@1.12.0/release/flowchart.min.js"
17 |
18 | [js.raphael]
19 | sri = "sha256-TabprKdeNXbSesCWLMrcbWSDzUhpAdcNPe5Q53rn9Yg="
20 | url = "https://jsdelivr.icloudnative.io/npm/raphael@2.3.0/raphael.min.js"
21 |
22 | [js.mathjax]
23 | url = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js"
24 |
25 | [js.chart]
26 | sri = "sha256-R4pqcOYV8lt7snxMQO/HSbVCFRPMdrhAFMH+vr9giYI="
27 | url = "https://jsdelivr.icloudnative.io/npm/chart.js@2.9.3/dist/Chart.min.js"
28 | [js.viz]
29 | sri = "" # no sri
30 | url = "https://jsdelivr.icloudnative.io/npm/viz.js@2.1.2/viz.min.js"
31 |
32 | [js.viz_render]
33 | sri = "sha256-Ogqs510LFnekr9o7OLdpelaaAmNss9egQRTyzCqV2NQ="
34 | url = "https://jsdelivr.icloudnative.io/npm/viz.js@2.1.2/full.render.js"
35 |
36 |
37 | # css
38 | [css.katex]
39 | sri = "sha256-V8SV2MO1FUb63Bwht5Wx9x6PVHNa02gv8BgH/uH3ung="
40 | url = "https://jsdelivr.icloudnative.io/npm/katex@0.11.1/dist/katex.min.css"
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/components/_alert.scss:
--------------------------------------------------------------------------------
1 | .alert {
2 | padding: 0.75rem;
3 | border: 1px solid transparent;
4 | border-radius: 0.125rem;
5 |
6 | @include themify($themes) {
7 | &-info {
8 | background-color: rgba(215, 238, 249, 0.4);
9 | color: themed('body-color');
10 |
11 | &[data-dir="rtl"] {
12 | border-right: 5px solid #bbdefb;
13 | }
14 |
15 | &[data-dir="ltr"] {
16 | border-left: 5px solid #bbdefb;
17 | }
18 | }
19 |
20 | &-success {
21 | background-color: rgba(217, 239, 214, 0.4);
22 | color: themed('body-color');
23 |
24 | &[data-dir="rtl"] {
25 | border-right: 5px solid #c8e6c9;
26 | }
27 |
28 | &[data-dir="ltr"] {
29 | border-left: 5px solid #c8e6c9;
30 | }
31 | }
32 |
33 | &-warning {
34 | background-color: rgba(255, 249, 196, 0.4);
35 | color: themed('body-color');
36 |
37 | &[data-dir="rtl"] {
38 | border-right: 5px solid #ffeb3b;
39 | }
40 |
41 | &[data-dir="ltr"] {
42 | border-left: 5px solid #ffeb3b;
43 | }
44 | }
45 |
46 | &-danger {
47 | background-color: rgba(245, 221, 221, 0.4);
48 | color: themed('body-color');
49 |
50 | &[data-dir="rtl"] {
51 | border-right: 5px solid #ffcdd2;
52 | }
53 |
54 | &[data-dir="ltr"] {
55 | border-left: 5px solid #ffcdd2;
56 | }
57 | }
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/components/_switch.scss:
--------------------------------------------------------------------------------
1 | /* The switch - the box around the slider */
2 | .switch {
3 | cursor: pointer;
4 |
5 | @include flexbox();
6 | @include align-items(center);
7 | @include justify-content(center);
8 |
9 | &__rel {
10 | position: relative;
11 | height: auto;
12 | padding: 0 6px;
13 |
14 | @include themify($themes) {
15 | color: themed('landing-button-default');
16 | @include on-event {
17 | color: themed('body-color');
18 | background-color: themed('dropdown-hover-background-color');
19 | }
20 | }
21 | }
22 |
23 | &__abs {
24 | position: absolute;
25 | z-index: z('menu');
26 | width: 50px;
27 | height: 50px;
28 | margin: auto 0;
29 | display: none;
30 |
31 | &[data-dir="rtl"] {
32 | left: 0;
33 | top: -16px;
34 | }
35 |
36 | &[data-dir="ltr"] {
37 | right: 0;
38 | top: -16px;
39 | }
40 |
41 | @include themify($themes) {
42 | color: themed('landing-button-default');
43 | @include on-event {
44 | color: themed('body-color');
45 | }
46 | }
47 |
48 | @media only screen and (min-width: 1280px) {
49 | display: block;
50 | }
51 | }
52 | }
53 |
54 | /* Hide default HTML checkbox */
55 | .switch input {
56 | opacity: 0;
57 | width: 0;
58 | height: 0;
59 | }
60 |
61 | /* The slider */
62 | .slider {
63 | background-color: transparent;
64 | -webkit-transition: .2s;
65 | transition: .2s;
66 |
67 | &__icon {
68 | svg {
69 | @include flexbox();
70 | @include align-items(center);
71 | }
72 | }
73 | }
74 |
75 | input:checked + .slider:before {
76 | -webkit-transform: translateX(13px);
77 | -ms-transform: translateX(13px);
78 | transform: translateX(13px);
79 | }
--------------------------------------------------------------------------------
/themes/zdoc/layouts/partials/main/component/pagination-single.html:
--------------------------------------------------------------------------------
1 | {{ if or .PrevInSection .NextInSection }}
2 |
3 |
42 | {{ end }}
43 |
--------------------------------------------------------------------------------
/assets/sass/components/_button.scss:
--------------------------------------------------------------------------------
1 | .button {
2 | border: none;
3 | outline: none;
4 | padding: 0.75rem;
5 | border-radius: 0.25rem;
6 | text-decoration: none;
7 | cursor: pointer;
8 |
9 | @include transition(all, 0.15s, ease-in);
10 |
11 | &[data-color="default"] {
12 | @include themify($themes) {
13 | color: themed('body-background-color');
14 | border: 1px solid darken(themed('landing-button-default'), 15%);
15 | background-color: themed('landing-button-default');
16 |
17 | @include on-event {
18 | color: themed('body-background-color');
19 | border: 1px solid darken(themed('landing-button-default'), 15%);
20 | background-color: lighten(themed('landing-button-default'), 8%);
21 | }
22 | }
23 | }
24 |
25 | &[data-color="primary"] {
26 | @include themify($themes) {
27 | color: themed('body-background-color');
28 | border: 1px solid darken(themed('landing-button-primary'), 15%);
29 | background-color: themed('landing-button-primary');
30 |
31 | @include on-event {
32 | color: themed('body-background-color');
33 | border: 1px solid darken(themed('landing-button-primary'), 15%);
34 | background-color: lighten(themed('landing-button-primary'), 8%);
35 | }
36 | }
37 | }
38 | }
39 |
40 | .editBtn {
41 | border: none;
42 | outline: none;
43 | padding: 0.75rem;
44 | margin: 0 0.5rem;
45 | text-decoration: none;
46 | cursor: pointer;
47 | font-family: $title-font;
48 | background-color: transparent;
49 |
50 | @include themify($themes) {
51 | color: themed('landing-button-default');
52 | @include on-event {
53 | color: themed('body-color');
54 | background-color: themed('dropdown-hover-background-color');
55 | }
56 | }
57 |
58 | @media only screen and (max-width: 600px) {
59 | display: none;
60 | }
61 | }
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/components/_button.scss:
--------------------------------------------------------------------------------
1 | .button {
2 | border: none;
3 | outline: none;
4 | padding: 0.75rem;
5 | border-radius: 0.25rem;
6 | text-decoration: none;
7 | cursor: pointer;
8 |
9 | @include transition(all, 0.15s, ease-in);
10 |
11 | &[data-color="default"] {
12 | @include themify($themes) {
13 | color: themed('body-background-color');
14 | border: 1px solid darken(themed('landing-button-default'), 15%);
15 | background-color: themed('landing-button-default');
16 |
17 | @include on-event {
18 | color: themed('body-background-color');
19 | border: 1px solid darken(themed('landing-button-default'), 15%);
20 | background-color: lighten(themed('landing-button-default'), 8%);
21 | }
22 | }
23 | }
24 |
25 | &[data-color="primary"] {
26 | @include themify($themes) {
27 | color: themed('body-background-color');
28 | border: 1px solid darken(themed('landing-button-primary'), 15%);
29 | background-color: themed('landing-button-primary');
30 |
31 | @include on-event {
32 | color: themed('body-background-color');
33 | border: 1px solid darken(themed('landing-button-primary'), 15%);
34 | background-color: lighten(themed('landing-button-primary'), 8%);
35 | }
36 | }
37 | }
38 | }
39 |
40 | .editBtn {
41 | border: none;
42 | outline: none;
43 | padding: 0.75rem;
44 | margin: 0 0.95rem;
45 | text-decoration: none;
46 | cursor: pointer;
47 | font-family: $title-font;
48 | background-color: transparent;
49 |
50 | @include themify($themes) {
51 | color: themed('landing-button-default');
52 | @include on-event {
53 | color: themed('body-color');
54 | background-color: themed('dropdown-hover-background-color');
55 | }
56 | }
57 |
58 | @media only screen and (max-width: 600px) {
59 | display: none;
60 | }
61 | }
--------------------------------------------------------------------------------
/content/zh/docs/overview/sidecar.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Sidecar 模式"
3 | date: 2020-05-02T15:24:11+08:00
4 | draft: false
5 | weight: 3
6 | ---
7 |
8 | 在云环境下,技术栈可以是多种多样的。那么如何能够将这些异构的服务组件串联起来,成为了服务治理的一个重大课题。而 `Sidecar` 模式为服务治理,提供了一种解决方案。
9 |
10 | ## 问题背景
11 |
12 | 大部分应用和服务都需要实现额外的服务治理功能,这些功能可以作为单独的组件或服务而存在。如果将这些功能集成到业务应用中,就会与业务应用运行在同一个进程中,从而可以有效地共享资源。从另一方面来看,这也意味着服务治理组件与业务应用之间的隔离性很弱,一旦其中一个组件出现故障,可能会影响其他组件甚至整个应用程序。除此之外,服务治理组件需要使用与父应用程序相同的技术栈来实现,因此它们之间有密切的相互依赖性。
13 |
14 | ## 解决方案
15 |
16 | 上述问题的解决方案是,**将服务治理功能从应用本身剥离出来作为单独进程**,与主应用程序共同放在一台主机(Host)中,但会将它们部署在各自的进程或容器中。这种方式也被称为 **Sidecar(边车)模式**。
17 |
18 | 下图展示了服务治理功能与主应用程序的部署关系图。
19 |
20 | 
21 |
22 | 该模式允许我们向应用无侵入添加多种功能,避免了为满足第三方组件需求而向应用添加额外的配置代码。
23 |
24 | ## Sidecar 模式
25 |
26 | 在软件架构中,`Sidecar` 附加到主应用,或者叫父应用上,以扩展/增强功能特性,同时 `Sidecar` 与主应用是松耦合的。这就像是如下图所示的边三轮摩托车那样,将边车(Sidecar)安装在一辆摩托车上,就变成了边三轮摩托车。每辆边三轮摩托车都有自己的边车。类似同样的方式,`Sidecar` 服务共享其父应用程序的主机。对于应用程序的每个实例,边车的实例被部署并与其一起托管。
27 |
28 | 
29 |
30 | 使用 `Sidecar` 模式的好处有很多:
31 |
32 | + 通过将服务治理相关功能抽象到不同的层来降低微服务的代码复杂性
33 | + 在运行时环境和编程语言方面,`Sidecar` 独立于其主要应用程序,不需要为每个微服务编写服务治理功能的代码,减少了微服务架构中的代码重复。
34 | + `Sidecar` 可以访问与主应用程序相同的资源。例如,`Sidecar` 可以监视 Sidecar 本身和主应用程序使用的系统资源。
35 | + 由于它靠近主应用程序,因此在它们之间进行通信时没有明显的延迟。
36 | + 降低了应用与底层平台的耦合度。
37 |
38 | ## Envoy
39 |
40 | `Envoy` 是为云原生应用设计的代理,可以在服务旁运行,以平台无关的方式提供必要的特性,所有到服务的流量都通过 `Envoy` 代理,这里 `Envoy` 扮演的就是 `Sidecar` 的角色。
41 |
42 | 
43 |
44 | 总的来说,在从一体化架构向微服务架构的转型让我们可以相对独立、大规模地部署应用,而在容器环境中,`Sidecar` 模式可以很好地兼容,帮助我们降低微服务架构复杂性,更好地实现服务发现、流量管理、负载均衡、路由。
45 |
46 | ## 参考资料
47 |
48 | + [了解Sidecar模式](https://waylau.com/sidecar-pattern/)
49 | + [Sidecar模式:下一代微服务架构的关键](http://2368.grd9dcf7.64q1jlfb.17f4cc.grapps.cn/2018/07/30/tech-20180730/)
--------------------------------------------------------------------------------
/layouts/partials/footer/footer.html:
--------------------------------------------------------------------------------
1 | {{ if $.Param "enableFooter" }}
2 |
3 |
49 |
50 | {{ end }}
51 |
--------------------------------------------------------------------------------
/assets/sass/components/_expand.scss:
--------------------------------------------------------------------------------
1 | .expand {
2 | position: relative;
3 | border-radius: 0.25rem;
4 | margin: 0 0 25px 0;
5 |
6 | &__content {
7 | overflow: hidden;
8 | max-height: 0;
9 | border-bottom-left-radius: 0.25rem;
10 | border-bottom-right-radius: 0.25rem;
11 |
12 | @include transition(all, 0.2s, ease);
13 |
14 | li {
15 | font-size: 15.2px;
16 | margin: 0 0 0.525rem 2rem !important;
17 |
18 | &:first-child {
19 | margin-top: 0.25rem !important;
20 | }
21 |
22 | li {
23 | font-size: 14.4px;
24 | margin: 0 0 0.25rem 1.25rem !important;
25 | }
26 | }
27 |
28 | &--toc {
29 | font-family: $title-font;
30 | font-size: 15.2px;
31 | li {
32 | list-style-type: '📂 ';
33 | li {
34 | list-style-type: '📄 ';
35 | }
36 | }
37 | }
38 | }
39 |
40 | &__button {
41 | cursor: pointer;
42 | width: 100%;
43 | padding: 0.5rem;
44 | text-align: left;
45 | outline: none;
46 | border: none;
47 | font-size: 1rem;
48 | font-family: $title-font;
49 |
50 | @include flexbox();
51 | @include align-items(center);
52 | @include themify($themes) {
53 | color: inherit;
54 | border-top: 1px solid themed('border-line-color');
55 | background-color: themed('expand-background-color');
56 | @include on-event {
57 | background-color: themed('expand-background-color-hover');
58 | }
59 | }
60 | }
61 |
62 | &-label {
63 | cursor: pointer;
64 | @include flexbox();
65 | @include align-items(center);
66 | }
67 |
68 | &-icon {
69 | padding-top: 0.125rem;
70 | padding-right: 0.5rem;
71 |
72 | &__down {
73 | @include rotate(90);
74 | @include transition(all, 0.15s, ease);
75 | }
76 |
77 | &__right {
78 | @include rotate(0);
79 | @include transition(all, 0.15s, ease);
80 | }
81 | }
82 | }
83 |
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/components/_toc.scss:
--------------------------------------------------------------------------------
1 | .toc {
2 | position: -webkit-sticky;
3 | position: sticky;
4 | top: $grid-nav-height;
5 | padding: 0.5rem;
6 | margin: 0.5rem;
7 | margin-top: 0;
8 | padding-top: 1.25rem;
9 | height: calc(100vh - $grid-nav-height);
10 | overflow: auto;
11 | font-size: 0.85rem;
12 | z-index: z('toc');
13 | max-height: 100vh;
14 |
15 | @include no-select;
16 | @include themify($themes) {
17 | @include webkit-scrollbars(themed('custom-scrollbar-foreground-color'), themed('custom-scrollbar-background-color'));
18 | @include moz-scrollbars(themed('custom-scrollbar-foreground-color'), themed('custom-scrollbar-background-color'));
19 | }
20 |
21 | #TableOfContents {
22 | position: relative;
23 | }
24 |
25 | &__label {
26 | font-family: $title-font;
27 | font-size: 1rem;
28 | margin-top: 0.65rem;
29 | margin-bottom: 1rem;
30 | margin-left: 1.25rem;
31 | padding-bottom: 0.5rem;
32 |
33 | @include themify($themes) {
34 | color: themed('toc-label-color');
35 | }
36 | }
37 |
38 | @include themify($themes) {
39 | a {
40 | color: themed('toc-color');
41 | position: relative;
42 |
43 | @include on-event {
44 | color: themed('link-hover');
45 | }
46 |
47 | &.active {
48 | color: themed('active-font-color');
49 |
50 | &::before {
51 | background-color: themed('active-font-color');
52 | content: '';
53 | height: 11px;
54 | left: -8px;
55 | margin: 0.25rem 0;
56 | position: absolute;
57 | width: 2px;
58 | &:last-child {
59 | background-color: transparent;
60 | }
61 | }
62 | }
63 | }
64 | }
65 |
66 | ul {
67 | li {
68 | li {
69 | margin-left: 0.6rem;
70 | }
71 | }
72 | }
73 | }
74 |
75 | .expand__content {
76 | #TableOfContents {
77 | ul {
78 | list-style-type: circle;
79 | }
80 | }
81 | }
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | Envoy 中文指南 - 从入门到实践进阶手册 👋
4 |
5 |
6 | Envoy 是专为大型现代 SOA(面向服务架构)架构设计的 L7 代理和通信总线,体积小,性能高,它通过一款单一的软件满足了我们的众多需求,而不需要我们去搭配一些工具混合使用。本指南包括了本人平时在使用 Envoy 时的参考指南和实践总结,形成一个系统化的参考指南以方便查阅。欢迎大家关注和添加完善内容。
7 |
8 |
9 |
10 | [](https://github.com/yangchuansheng/envoy-handbook/)
11 | [](https://fuckcloudnative.io/envoy-handbook/)
12 | [](https://t.me/gsealyun)
13 |
14 |
15 |
16 |
17 | ---
18 |
19 | ### 🏠 [Homepage](https://fuckcloudnative.io/envoy-handbook/)
20 |
21 | **文档: _[中文文档](https://fuckcloudnative.io/envoy-handbook/), [英文文档](https://www.envoyproxy.io/docs/envoy/latest),[博客](https://fuckcloudnative.io)_**
22 |
23 | **加入组织: _[Telegram](https://t.me/gsealyun)_**
24 |
25 | 
26 |
27 | ## 👋 为什么选择 Envoy
28 |
29 | ### 非侵入架构
30 |
31 | Envoy 是一个独立进程,设计为伴随每个应用程序服务运行。所有的 Envoy 形成一个透明的通信网格,每个应用程序发送消息到本地主机或从本地主机接收消息,不需要知道网络拓扑,对服务的实现语言也完全无感知,这种模式也被称为 Sidecar。
32 |
33 | 
34 |
35 | ### L3/L4/L7 架构
36 |
37 | 传统的网络代理,要么在 HTTP 层工作,要么在 TCP 层工作。Envoy 支持同时在 3/4 层和 7 层操作,以此应对这两种方法各自都有其实际限制的现实。
38 |
39 | ### 动态更新
40 |
41 | 与 Nginx 等代理的热加载不同,Envoy 可以通过 API 来实现其控制平面,控制平面可以集中服务发现,并通过 API 接口动态下发规则更新数据平面的配置,不需要重启数据平面的代理。
42 |
43 | ## ✅ Envoy 的特性
44 |
45 | - [x] 非侵入的架构
46 | - [x] 由 C++ 语言实现,拥有强大的定制化能力和优异的性能
47 | - [x] L3/L4/L7 架构
48 | - [x] 顶级 HTTP/2 支持
49 | - [x] 服务发现和动态配置
50 | - [x] gRPC 支持
51 | - [x] 特殊协议支持
52 | - [x] 可观测性
53 |
54 | ## 作者
55 |
56 | 👤 **米开朗基杨**
57 |
58 | * Github: [@yangchuansheng](https://github.com/yangchuansheng)
59 | * Wechat: cloud-native-yang
60 |
61 | ## 支持我
62 |
63 | 如果觉得这个项目对你有帮助,请给我一个 ⭐️ 吧!
64 |
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/components/_expand.scss:
--------------------------------------------------------------------------------
1 | .expand {
2 | position: relative;
3 | border-radius: 0.25rem;
4 |
5 | &__content {
6 | overflow: hidden;
7 | max-height: 0;
8 | margin: 0 1rem;
9 | border-bottom-left-radius: 0.25rem;
10 | border-bottom-right-radius: 0.25rem;
11 |
12 | @include transition(all, 0.2s, ease);
13 |
14 | li {
15 | font-size: 15.2px;
16 | margin: 0 0 0.525rem 2rem !important;
17 |
18 | &:first-child {
19 | margin-top: 0.25rem !important;
20 | }
21 |
22 | li {
23 | font-size: 14.4px;
24 | margin: 0 0 0.25rem 1.25rem !important;
25 | }
26 | }
27 |
28 | &--toc {
29 | font-family: $title-font;
30 | font-size: 15.2px;
31 | li {
32 | list-style-type: '📂 ';
33 | li {
34 | list-style-type: '📄 ';
35 | }
36 | }
37 | }
38 | }
39 |
40 | &__button {
41 | cursor: pointer;
42 | width: 100%;
43 | padding: 0.5rem;
44 | text-align: left;
45 | outline: none;
46 | border: none;
47 | font-size: 1rem;
48 | font-family: $title-font;
49 | margin: 0.5rem 0;
50 |
51 | @include flexbox();
52 | @include align-items(center);
53 | @include themify($themes) {
54 | color: inherit;
55 | border-top: 1px solid themed('border-line-color');
56 | border-bottom: 1px solid themed('border-line-color');
57 | background-color: themed('expand-background-color');
58 | @include on-event {
59 | background-color: themed('expand-background-color-hover');
60 | }
61 | }
62 | }
63 |
64 | &-label {
65 | cursor: pointer;
66 | @include flexbox();
67 | @include align-items(center);
68 | }
69 |
70 | &-icon {
71 | padding-top: 0.125rem;
72 | padding-right: 0.5rem;
73 |
74 | &__down {
75 | @include rotate(90);
76 | @include transition(all, 0.15s, ease);
77 | }
78 |
79 | &__right {
80 | @include rotate(0);
81 | @include transition(all, 0.15s, ease);
82 | }
83 | }
84 | }
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/themes/_light.scss:
--------------------------------------------------------------------------------
1 | $light: (
2 | link: $light-link-color,
3 | link-hover: $light-link-hover-color,
4 | body-color: #242729,
5 | hr-color: #bdbdbd,
6 | title-color: #424242,
7 | subtitle-color: darken(#424242, 5%),
8 | border-line-color: rgba(12, 13, 14, 0.1),
9 | active-font-color: $light-active-font-color,
10 | body-background-color: #fff,
11 | back-background-color: #f7f8f9,
12 | navbar-background-color: #fafafa,
13 | navbar-hover-background-color: rgba(225,225,225,0.4),
14 | navbar-logo-color: $light-nav-logo-color,
15 | navbar-menu-color: $light-nav-menu-color,
16 | navbar-icon-color: $light-nav-icon-color,
17 | search-border-outline-color: rgba(207, 216, 220, 0.6),
18 | search-border-active-color: #b0bec5,
19 | search-background-color: #fff,
20 | search-placeholder-color: #aaa,
21 | search-content-background-color: #f1f1f1,
22 | search-hover-background-color: #eaeaea,
23 | search-hover-border-color: #addafc,
24 | search-border-color: #e0e0e0,
25 | search-highlight-color: #FF6188,
26 | custom-scrollbar-foreground-color: #cfd8dc,
27 | custom-scrollbar-background-color: #FCFCFA,
28 | dropdown-hover-background-color: rgba(225,225,225,0.4),
29 | dropdown-background-color: #fff,
30 | dropdown-item-active-background-color: #e0e0e0,
31 | menu-arrow-color: #535a61,
32 | pagination-color: #535a61,
33 | toc-color: #919191,
34 | banner-background-color: #eee,
35 | landing-button-primary: $light-active-font-color,
36 | landing-button-default: #535a61,
37 | pagination-link-color: #424242,
38 | pagination-background-color: #eee,
39 | pagination-disabled-color: #bdbdbd,
40 | pagination-number-color: #757575,
41 | breadcrumb-background-color: #fff,
42 | single-hr-background-color: #bdbdbd,
43 | single-blockquote-border-color: #bdbdbd,
44 | single-header-title-background-color: #eee,
45 | single-contents-title-color: #607d8b,
46 | expand-background-color: #f7f8f9,
47 | expand-background-color-hover: darken(#f7f8f9, 3%),
48 | tag-num-background-color: #bdbdbd,
49 | tag-text-background-color: #eee,
50 | );
--------------------------------------------------------------------------------
/themes/zdoc/layouts/_default/summary.html:
--------------------------------------------------------------------------------
1 |
2 |
8 | {{ $params := .Params }}
9 |
10 |
11 | {{ with $params.Description }}
12 | {{ . }}
13 | {{ else }}
14 | {{ .Summary }}
15 | {{ end }}
16 |
17 | {{ if $params.image }}
18 |
23 | {{ else if $params.featured_video }}
24 | {{ with print ("videos/poster/" | relURL) $params.featured_video_poster }}
25 |
26 |
31 |
32 | {{ end }}
33 | {{ end }}
34 |
35 |
42 |
--------------------------------------------------------------------------------
/themes/zdoc/assets/sass/themes/_dark.scss:
--------------------------------------------------------------------------------
1 | $dark: (
2 | link: $dark-link-color,
3 | link-hover: $dark-link-hover-color,
4 | body-color: #FCFCFA,
5 | hr-color: #595B5C,
6 | title-color: #FCFCFA,
7 | subtitle-color: darken(#FCFCFA, 5%),
8 | border-line-color: rgba(243, 242, 241, 0.1),
9 | active-font-color: $dark-active-font-color,
10 | body-background-color: #2D2A2E,
11 | back-background-color: #212121,
12 | navbar-background-color: #403E41,
13 | navbar-hover-background-color: rgba(225,225,225,0.4),
14 | navbar-logo-color: $dark-nav-logo-color,
15 | navbar-menu-color: $dark-nav-menu-color,
16 | navbar-icon-color: $dark-nav-icon-color,
17 | search-border-active-color: #424242,
18 | search-border-outline-color: rgba(166, 166, 166, 0.45),
19 | search-background-color: lighten(#403E41, 5%),
20 | search-placeholder-color: #999,
21 | search-content-background-color: lighten(#403E41, 5%),
22 | search-hover-background-color: #403E41,
23 | search-hover-border-color: #403E41,
24 | search-border-color: #383838,
25 | search-highlight-color: #FF6188,
26 | custom-scrollbar-foreground-color: #888,
27 | custom-scrollbar-background-color: #eee,
28 | dropdown-hover-background-color: #727072,
29 | dropdown-background-color: #595B5C,
30 | dropdown-item-active-background-color: #424242,
31 | menu-arrow-color: #FCFCFA,
32 | pagination-color: #FCFCFA,
33 | toc-color: #aaa,
34 | banner-background-color: darken(#212121, 3%),
35 | landing-button-primary: $dark-active-font-color,
36 | landing-button-default: #ccc,
37 | pagination-link-color: #82aaff,
38 | pagination-disabled-color: #757575,
39 | pagination-number-color: #FCFCFA,
40 | breadcrumb-background-color: #2D2A2E,
41 | single-hr-background-color: #727072,
42 | single-blockquote-border-color: #FCFCFA,
43 | single-contents-title-color: #ccc,
44 | single-header-title-background-color: #212121,
45 | single-contents-subtitle-color: #FCFCFA,
46 | expand-background-color: darken(#2D2A2E, 2%),
47 | expand-background-color-hover: #212121,
48 | tag-num-background-color: #595B5C,
49 | tag-text-background-color: #595B5C,
50 | );
--------------------------------------------------------------------------------