123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223 |
- <!--
- ~ Copyright 2024 Apollo Authors
- ~
- ~ Licensed under the Apache License, Version 2.0 (the "License");
- ~ you may not use this file except in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- ~
- -->
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8" />
- <title>Apollo</title>
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
- <meta name="keywords" content="apollo,configuration,server,java,microservice" />
- <meta name="description" content="A reliable configuration management system" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0" />
- <meta name="google-site-verification" content="CuvYz6OxISNH7wdJsnS8oNtJJn9IP6k0zz5x6m9uXco" />
- <!-- theme -->
- <link rel="stylesheet" href="css/vue.css" title="vue" />
- <link rel="stylesheet" href="css/dark.css" title="dark" disabled />
- <link rel="stylesheet" href="css/buble.css" title="buble" disabled />
- <link rel="stylesheet" href="css/pure.css" title="pure" disabled />
- <style type="text/css">
- .sidebar-nav >ul >li.file p >a {
- font-size: 15px;
- font-weight: 700;
- color: #364149;
- }
- .sidebar-nav .folder {
- cursor: pointer;
- }
- </style>
- <!-- scripts-->
- <script src="scripts/multiple-language-redirect.js"></script>
- </head>
- <body>
- <div id="app">Loading ...</div>
- <script>
- window.$docsify = {
- alias: {
- '/': 'zh/README.md',
- '/zh/.*/_sidebar.md': '/zh/_sidebar.md',
- '/en/.*/_sidebar.md': '/en/_sidebar.md',
- '/zh/.*/_navbar.md': '/zh/_navbar.md',
- '/en/.*/_navbar.md': '/en/_navbar.md',
- '/zh/(.*)': 'zh/$1',
- '/en/(.*)': 'en/$1',
- '.*?/governance':
- 'https://raw.githubusercontent.com/apolloconfig/apollo/master/GOVERNANCE.md',
- '.*?/contributing':
- 'https://raw.githubusercontent.com/apolloconfig/apollo/master/CONTRIBUTING.md',
- },
- nameLink: {
- '/zh/': '#/zh/',
- '/en/': '#/en/',
- '/': '#/',
- },
- auto2top: true,
- // Only coverpage is loaded when visiting the home page.
- onlyCover: true,
- coverpage: true,
- loadSidebar: true,
- loadNavbar: true,
- mergeNavbar: true,
- maxLevel: 6,
- subMaxLevel: 5,
- name: 'Apollo',
- repo: 'https://github.com/apolloconfig/apollo/',
- search: {
- noData: {
- '/zh/': '没有结果!',
- '/en/': 'No results!',
- '/': '没有结果!',
- },
- paths: 'auto',
- placeholder: {
- '/zh/': '搜索',
- '/en/': 'Search',
- '/': '搜索',
- },
- pathNamespaces: ['/zh', '/en']
- },
- // click to copy.
- copyCode: {
- buttonText: {
- '/zh/': '点击复制',
- '/en/': 'Copy to clipboard',
- '/': 'Copy to clipboard',
- },
- errorText: {
- '/zh/': '错误',
- '/en/': 'Error',
- '/': 'Error',
- },
- successText: {
- '/zh/': '复制成功',
- '/en': 'Copied',
- '/': 'Copied',
- },
- },
- // docsify-pagination
- pagination: {
- crossChapter: true,
- crossChapterText: true,
- },
- markdown: {
- renderer: {
- code: function(code, lang) {
- if (lang === "mermaid") {
- return (
- '<div class="mermaid">' + mermaid.render('mermaid-svg-' + num++, code) + "</div>"
- );
- }
- return this.origin.code.apply(this, arguments);
- }
- }
- },
- plugins: [
- // Edit Document Button in each page
- function (hook, vm) {
- hook.beforeEach(function (html) {
- if (/githubusercontent\.com/.test(vm.route.file)) {
- url = vm.route.file
- .replace('raw.githubusercontent.com', 'github.com')
- .replace(/\/master/, '/blob/master')
- } else {
- url = 'https://github.com/apolloconfig/apollo/blob/master/docs/' + vm.route.file
- }
- var editHtml = '[:memo: Edit Document](' + url + ')\n\n'
- return editHtml
- + html
- + '\n\n----\n\n'
- + '<a href="https://docsify.js.org" target="_blank" style="color: inherit; font-weight: normal; text-decoration: none;">Powered by docsify</a>'
- })
- },
- // from custom scripts
- generateMultipleLanguagesNavbarPluginByListItemName("Translations"),
- ],
- };
- </script>
- <!-- docsify -->
- <script src="//unpkg.com/docsify@4.13.1/lib/docsify.min.js"></script>
- <!-- docsify plugins -->
- <!-- support search -->
- <script src="//unpkg.com/docsify@4.13.1/lib/plugins/search.min.js"></script>
- <!-- Support docsify sidebar catalog expand and collapse -->
- <script src="//unpkg.com/docsify-sidebar-collapse@1.3.5/dist/docsify-sidebar-collapse.min.js"></script>
- <!-- Medium's image zoom -->
- <script src="//unpkg.com/docsify@4.13.1/lib/plugins/zoom-image.min.js"></script>
- <!-- Add a simple Click to copy button to all preformatted code blocks to effortlessly allow users to copy example code from your docs -->
- <script src="//unpkg.com/docsify-copy-code@2.1.1/dist/docsify-copy-code.min.js"></script>
- <!-- docsify-pagination -->
- <script src="//unpkg.com/docsify-pagination@2.10.1/dist/docsify-pagination.min.js"></script>
- <!-- code highlight -->
- <script src="//unpkg.com/prismjs@1.27.0/components/prism-bash.min.js"></script>
- <script src="//unpkg.com/prismjs@1.27.0/components/prism-csharp.min.js"></script>
- <script src="//unpkg.com/prismjs@1.27.0/components/prism-java.min.js"></script>
- <script src="//unpkg.com/prismjs@1.27.0/components/prism-json.min.js"></script>
- <script src="//unpkg.com/prismjs@1.27.0/components/prism-markdown.min.js"></script>
- <script src="//unpkg.com/prismjs@1.27.0/components/prism-nginx.min.js"></script>
- <script src="//unpkg.com/prismjs@1.27.0/components/prism-properties.min.js"></script>
- <script src="//unpkg.com/prismjs@1.27.0/components/prism-sql.min.js"></script>
- <script src="//unpkg.com/prismjs@1.27.0/components/prism-xml-doc.min.js"></script>
- <script src="//unpkg.com/prismjs@1.27.0/components/prism-yaml.min.js"></script>
- </body>
- <!-- add qa bot -->
- <script>
- (function() {
- var link = document.createElement('link');
- link.rel = 'stylesheet';
- link.href = 'https://ai.apolloconfig.com/qa-bot.css';
- document.head.appendChild(link);
- var script = document.createElement('script');
- script.src = 'https://ai.apolloconfig.com/qa-bot.js';
- script.onload = function () {
- QABot.initialize({
- "serverUrl": "https://ai.apolloconfig.com/qa",
- "documentSiteUrlPrefix": "https://www.apolloconfig.com/#"
- });
- };
- document.body.appendChild(script);
- })();
- </script>
- <!-- mermaid -->
- <script src="//unpkg.com/mermaid@8.14.0/dist/mermaid.min.js"></script>
- <script>
- // mermaid
- var num = 0;
- mermaid.initialize({ startOnLoad: false });
- </script>
- <script>
- var _hmt = _hmt || [];
- (function() {
- var hm = document.createElement("script");
- hm.src = "https://hm.baidu.com/hm.js?d47d58dcc5ba5c0c7dccab29717379c6";
- var s = document.getElementsByTagName("script")[0];
- s.parentNode.insertBefore(hm, s);
- })();
- </script>
- </html>
|