Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Switch to Algolia DocSearch (#85)
Browse files Browse the repository at this point in the history
* Add Algolia

* Overhaul the search

* Add sitemap.xml generator

* Remove SCSS files

* Eject components

* Algolia styling

* More styling x2
  • Loading branch information
Soitora authored Apr 30, 2020
1 parent c49576f commit 486f12a
Show file tree
Hide file tree
Showing 7 changed files with 463 additions and 3 deletions.
60 changes: 58 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"lodash.groupby": "^4.6.0",
"lodash.sortby": "^4.7.0",
"material-design-icons": "^3.0.1",
"vue-sweetalert2": "^3.0.3"
"vue-sweetalert2": "^3.0.3",
"vuepress-plugin-sitemap": "^2.3.1"
}
}
5 changes: 5 additions & 0 deletions src/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ module.exports = {
docsRepo: 'tachiyomiorg/website',
docsDir: 'src',
logo: '/assets/media/logo.svg',
algolia: {
apiKey: 'fc1c45b5a3835e1882cbbf0751dfe705',
indexName: 'tachiyomi'
},
searchPlaceholder: 'Search...',
editLinks: true,
editLinkText: 'Help us improve this page',
nav: require('./config/nav'),
Expand Down
6 changes: 6 additions & 0 deletions src/.vuepress/config/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,10 @@ module.exports = [
defaultTitle: ""
}
],
[
"vuepress-plugin-sitemap",
{
hostname: "https://tachiyomi.org"
}
]
];
70 changes: 70 additions & 0 deletions src/.vuepress/public/assets/search-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 486f12a

Please sign in to comment.