index.html 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. <!--
  2. ~ Copyright 2021 Apollo Authors
  3. ~
  4. ~ Licensed under the Apache License, Version 2.0 (the "License");
  5. ~ you may not use this file except in compliance with the License.
  6. ~ You may obtain a copy of the License at
  7. ~
  8. ~ http://www.apache.org/licenses/LICENSE-2.0
  9. ~
  10. ~ Unless required by applicable law or agreed to in writing, software
  11. ~ distributed under the License is distributed on an "AS IS" BASIS,
  12. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. ~ See the License for the specific language governing permissions and
  14. ~ limitations under the License.
  15. ~
  16. -->
  17. <!DOCTYPE html>
  18. <html lang="en">
  19. <head>
  20. <meta charset="UTF-8" />
  21. <title>Apollo</title>
  22. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  23. <meta name="keywords" content="apollo,configuration,server,java,microservice" />
  24. <meta name="description" content="A reliable configuration management system" />
  25. <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0" />
  26. <meta name="google-site-verification" content="CuvYz6OxISNH7wdJsnS8oNtJJn9IP6k0zz5x6m9uXco" />
  27. <!-- theme -->
  28. <link rel="stylesheet" href="css/vue.css" title="vue" />
  29. <link rel="stylesheet" href="css/dark.css" title="dark" disabled />
  30. <link rel="stylesheet" href="css/buble.css" title="buble" disabled />
  31. <link rel="stylesheet" href="css/pure.css" title="pure" disabled />
  32. <style type="text/css">
  33. .sidebar-nav >ul >li.file p >a {
  34. font-size: 15px;
  35. font-weight: 700;
  36. color: #364149;
  37. }
  38. .sidebar-nav .folder {
  39. cursor: pointer;
  40. }
  41. </style>
  42. </head>
  43. <body>
  44. <div id="app">Loading ...</div>
  45. <script>
  46. window.$docsify = {
  47. alias: {
  48. '/': 'zh/README.md',
  49. '/zh/.*/_sidebar.md': '/zh/_sidebar.md',
  50. '/en/.*/_sidebar.md': '/en/_sidebar.md',
  51. '/zh/.*/_navbar.md': '/zh/_navbar.md',
  52. '/en/.*/_navbar.md': '/en/_navbar.md',
  53. '/zh/(.*)': 'zh/$1',
  54. '/en/(.*)': 'en/$1',
  55. },
  56. auto2top: true,
  57. // Only coverpage is loaded when visiting the home page.
  58. onlyCover: true,
  59. coverpage: true,
  60. loadSidebar: true,
  61. loadNavbar: true,
  62. mergeNavbar: true,
  63. maxLevel: 6,
  64. subMaxLevel: 5,
  65. name: 'Apollo',
  66. repo: 'https://github.com/ctripcorp/apollo/',
  67. search: {
  68. noData: {
  69. '/zh/': '没有结果!',
  70. '/en/': 'No results!',
  71. '/': '没有结果!',
  72. },
  73. paths: 'auto',
  74. placeholder: {
  75. '/zh/': '搜索',
  76. '/en/': 'Search',
  77. '/': '搜索',
  78. },
  79. },
  80. // click to copy.
  81. copyCode: {
  82. buttonText: {
  83. '/zh/': '点击复制',
  84. '/en/': 'Copy to clipboard',
  85. '/': 'Copy to clipboard',
  86. },
  87. errorText: {
  88. '/zh/': '错误',
  89. '/en/': 'Error',
  90. '/': 'Error',
  91. },
  92. successText: {
  93. '/zh/': '复制成功',
  94. '/en': 'Copied',
  95. '/': 'Copied',
  96. },
  97. },
  98. // docsify-pagination
  99. pagination: {
  100. crossChapter: true,
  101. crossChapterText: true,
  102. },
  103. plugins: [
  104. // Edit Document Button in each page
  105. function (hook, vm) {
  106. hook.beforeEach(function (html) {
  107. if (/githubusercontent\.com/.test(vm.route.file)) {
  108. url = vm.route.file
  109. .replace('raw.githubusercontent.com', 'github.com')
  110. .replace(/\/master/, '/blob/master')
  111. } else {
  112. url = 'https://github.com/ctripcorp/apollo/blob/master/docs/' + vm.route.file
  113. }
  114. var editHtml = '[:memo: Edit Document](' + url + ')\n\n'
  115. return editHtml
  116. + html
  117. + '\n\n----\n\n'
  118. + '<a href="https://docsify.js.org" target="_blank" style="color: inherit; font-weight: normal; text-decoration: none;">Powered by docsify</a>'
  119. })
  120. },
  121. ],
  122. };
  123. </script>
  124. <script src="//cdn.jsdelivr.net/npm/docsify@4/lib/docsify.min.js"></script>
  125. <!-- plugins -->
  126. <!-- support search -->
  127. <script src="//cdn.jsdelivr.net/npm/docsify@4/lib/plugins/search.min.js"></script>
  128. <!-- Support docsify sidebar catalog expand and collapse -->
  129. <script src="//cdn.jsdelivr.net/npm/docsify-sidebar-collapse/dist/docsify-sidebar-collapse.min.js"></script>
  130. <!-- Medium's image zoom -->
  131. <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script>
  132. <!-- Add a simple Click to copy button to all preformatted code blocks to effortlessly allow users to copy example code from your docs -->
  133. <script src="//cdn.jsdelivr.net/npm/docsify-copy-code"></script>
  134. <!-- docsify-pagination -->
  135. <script src="//cdn.jsdelivr.net/npm/docsify-pagination/dist/docsify-pagination.min.js"></script>
  136. <!-- code highlight -->
  137. <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-bash.min.js"></script>
  138. <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-csharp.min.js"></script>
  139. <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-java.min.js"></script>
  140. <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-json.min.js"></script>
  141. <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-markdown.min.js"></script>
  142. <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-nginx.min.js"></script>
  143. <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-properties.min.js"></script>
  144. <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-sql.min.js"></script>
  145. <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-xml-doc.min.js"></script>
  146. <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-yaml.min.js"></script>
  147. </body>
  148. <script>
  149. var _hmt = _hmt || [];
  150. (function() {
  151. var hm = document.createElement("script");
  152. hm.src = "https://hm.baidu.com/hm.js?d47d58dcc5ba5c0c7dccab29717379c6";
  153. var s = document.getElementsByTagName("script")[0];
  154. s.parentNode.insertBefore(hm, s);
  155. })();
  156. </script>
  157. </html>