This repository contains our talent (employee) handbook.
We love open source and so have open sourced this handbook.
We use bestatic to generate the handbook. We use a modified version of markdown (with React extensions) and React 16.8 (the one with hooks), but the generated files are completely static and have no runtime.
The site is live at talent.sync.health
All the source files are in the pages directory. Just edit in any plain text editor, markdown processor, or Visual Studio Code with the tdx or mdx-js extension.
The easiest changes are made by editing the theme file. More advanced changes can be made by using different layout definitions in the index.mdx files (specified as the default export); in particular, replace the following lines with your own implementation:
export { DocsLayout as Root } from '@bestatic/layout'yarnEdit the /config/bestatic.config.js with your company and site details; add any referenced logos to the public folder; adjust the /config/theme file
Edit the firebase.json or swap out for your favorite static hosting site (or just use github pages).
Create a config/env.config.json file with your algolia admin (write and search) credentials
{
"BERUN_ALGOLIA_APIADMIN" : "YOUR_ADMIN_API_KEY_FOR_WRITES"
"BERUN_ALGOLIA_APPID" : "YOUR_APP_ID"
"BERUN_ALGOLIA_APIKEY" : "YOUR_API_KEY_FOR_SEARCH_ONLY"
"BERUN_ALGOLIA_INDEX" : "talent"
}yarn build
firebase deployAll the generated files will be in the build-static folder; the build command will actually upload the docsearch index to Algolia.
It is not necessary to register the site with docsearch or use docker as the index is generated directly by the bestatic build scripts; any Algolia plan should work.
Creative Commons Attribution-ShareAlike 4.0 International