siteConfig.js 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. /**
  2. * Copyright (c) 2017-present, Facebook, Inc.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. // See https://docusaurus.io/docs/site-config.html for all the possible
  8. // site configuration options.
  9. /* List of projects/orgs using your project for the users page */
  10. const users = [
  11. {
  12. caption: 'Khan Academy',
  13. image: 'https://avatars0.githubusercontent.com/u/15455',
  14. infoLink: 'https://www.khanacademy.org/',
  15. },
  16. {
  17. caption: 'CindyJS',
  18. image: 'https://cindyjs.org/assets/img/logo.png',
  19. infoLink: 'https://cindyjs.org/',
  20. },
  21. {
  22. caption: 'CoCalc',
  23. image: '/img/cocalc_logo.svg',
  24. infoLink: 'https://cocalc.com/',
  25. },
  26. {
  27. caption: 'Dropbox Paper',
  28. image: 'https://aem.dropbox.com/cms/content/dam/dropbox/www/en-us/branding/app-paper-ios@2x.png',
  29. infoLink: 'https://paper.dropbox.com/',
  30. },
  31. {
  32. caption: 'Editor.md',
  33. image: 'https://pandao.github.io/editor.md/images/logos/editormd-logo-180x180.png',
  34. infoLink: 'https://pandao.github.io/editor.md/en.html',
  35. },
  36. {
  37. caption: 'Expii',
  38. image: '/img/expii_logo.png',
  39. infoLink: 'https://www.expii.com/',
  40. },
  41. {
  42. caption: 'GitLab',
  43. image: 'https://gitlab.com/gitlab-com/gitlab-artwork/raw/master/logo/logo-square.png',
  44. infoLink: 'https://gitlab.com/',
  45. },
  46. {
  47. caption: 'Gatsby',
  48. image: 'https://www.gatsbyjs.org/monogram.svg',
  49. infoLink: 'https://www.gatsbyjs.org/',
  50. },
  51. {
  52. caption: 'Gitter',
  53. image: 'https://assets.gitlab-static.net/uploads/-/system/project/avatar/3601513/gitter_logo.png',
  54. infoLink: 'https://gitter.im/',
  55. },
  56. {
  57. caption: 'Gradescope',
  58. image: '/img/gradescope_logo.png',
  59. infoLink: 'https://www.gradescope.com/',
  60. },
  61. {
  62. caption: 'hack.chat',
  63. image: 'https://hack.chat/apple-icon-180x180.png',
  64. infoLink: 'https://hack.chat/',
  65. },
  66. {
  67. caption: 'Idyll',
  68. image: 'https://idyll-lang.org/static/images/logo.svg',
  69. infoLink: 'https://idyll-lang.org/',
  70. },
  71. {
  72. caption: 'Interactive Mathematics',
  73. image: 'https://www.intmath.com/intmath-logo.svg',
  74. infoLink: 'https://www.intmath.com/',
  75. },
  76. {
  77. caption: 'Messenger',
  78. image: 'https://en.facebookbrand.com/wp-content/uploads/2016/09/messenger_icon2.png',
  79. infoLink: 'https://www.messenger.com/',
  80. },
  81. {
  82. caption: 'namu.wiki',
  83. image: '/img/namuwiki_logo.png',
  84. infoLink: 'https://namu.wiki/',
  85. },
  86. {
  87. caption: 'Observable',
  88. image: 'https://pbs.twimg.com/profile_images/970805785503477760/HfTZJiZo_400x400.jpg',
  89. infoLink: 'https://beta.observablehq.com/',
  90. },
  91. {
  92. caption: 'Quill',
  93. image: 'https://quilljs.com/assets/images/logo.svg',
  94. infoLink: 'https://quilljs.com/',
  95. },
  96. {
  97. caption: 'Rocket.Chat',
  98. image: '/img/rocketchat_logo.svg',
  99. infoLink: 'https://rocket.chat/',
  100. },
  101. {
  102. caption: 'Slides',
  103. image: 'https://s3.amazonaws.com/uploads.uservoice.com/logo/design_setting/116173/original/slides-symbol-150x150.png',
  104. infoLink: 'https://slides.com/',
  105. },
  106. {
  107. caption: 'Spinning Numbers',
  108. image: 'https://spinningnumbers.org/i/sn_logo2.svg',
  109. infoLink: 'https://spinningnumbers.org/',
  110. },
  111. {
  112. caption: 'StackEdit',
  113. image: '/img/stackedit_logo.svg',
  114. infoLink: 'https://stackedit.io/',
  115. },
  116. {
  117. caption: 'Vade Mecum Shelf',
  118. image: '/img/vade_mecum_shelf_logo.png',
  119. infoLink: 'https://github.com/tonton-pixel/vade-mecum-shelf/',
  120. },
  121. ];
  122. const siteConfig = {
  123. title: 'KaTeX',
  124. tagline: 'The fastest math typesetting library for the web',
  125. url: 'https://katex.org',
  126. baseUrl: '/',
  127. // Used for publishing and more
  128. projectName: 'KaTeX',
  129. organizationName: 'Khan',
  130. headerLinks: [
  131. {href: '/#demo', label: 'Try'},
  132. {doc: 'node', label: 'Docs'},
  133. {page: 'users', label: 'Users'},
  134. {href: 'https://github.com/KaTeX/KaTeX', label: 'GitHub'},
  135. {search: true},
  136. ],
  137. users,
  138. /* path to images for header/footer */
  139. headerIcon: 'img/katex-logo.svg',
  140. footerIcon: 'img/katex-logo.svg',
  141. favicon: '../favicon.ico',
  142. disableHeaderTitle: true,
  143. /* colors for website */
  144. colors: {
  145. primaryColor: '#329894',
  146. secondaryColor: '#266e6c',
  147. },
  148. // This copyright info is used in /core/Footer.js and blog rss/atom feeds.
  149. copyright:
  150. 'Copyright © ' +
  151. new Date().getFullYear() +
  152. ' Khan Academy',
  153. highlight: {
  154. // Highlight.js theme to use for syntax highlighting in code blocks
  155. theme: 'default',
  156. },
  157. markdownPlugins: [
  158. require('./lib/remarkable-katex'),
  159. require('./lib/empty-thead'),
  160. ],
  161. scripts: [
  162. 'https://buttons.github.io/buttons.js',
  163. '/js/scrollspy.js',
  164. ],
  165. separateCss: ['static/static', 'static\\static'],
  166. algolia: {
  167. apiKey: '46ecd80046d78d4e5d9a5c06f559dfaa',
  168. indexName: 'katex',
  169. algoliaOptions: {
  170. facetFilters: ['language:LANGUAGE', 'version:VERSION'],
  171. },
  172. },
  173. /* On page navigation for the current documentation page */
  174. onPageNav: 'separate',
  175. /* Open Graph and Twitter card images */
  176. ogImage: 'img/og_logo.png',
  177. twitterImage: 'img/og_logo.png',
  178. repoUrl: 'https://github.com/KaTeX/KaTeX',
  179. };
  180. module.exports = siteConfig;