- MDX 50.4%
- TypeScript 45.9%
- CSS 2%
- Shell 1.1%
- JavaScript 0.6%
|
aaomidi
85a355becd
OCSP is cached, not stapled
OCSP stapling is not something the browser can do, it has to be done by the subscriber (effectively, owner of the certificate). However OCSP responses are highly cache-able and I assume this is what the intent of this sentence here is. |
||
|---|---|---|
| components | ran lint:fix on PR#70 | |
| lib | ran lint:fix on PR#70 | |
| pages | OCSP is cached, not stapled | |
| public | Replace favicon.ico | |
| styles | fix scroll margin | |
| .eslintrc.json | add windows portable download button | |
| .gitignore | Initial commit from Create Next App | |
| .prettierignore |
update prettier, eslint and .gitlab-ci.yml
|
|
| .prettierrc |
update prettier, eslint and .gitlab-ci.yml
|
|
| LICENSE | Create LICENSE | |
| next-env.d.ts | add flexsearch | |
| next.config.js | add flexsearch | |
| optimize_images.sh | optimize images | |
| package.json | update dependencies and fix formatting | |
| README.md |
update prettier, eslint and .gitlab-ci.yml
|
|
| theme.config.tsx |
forgot to run npn run lint:fix
|
|
| tsconfig.json | update how download buttons work | |
| yarn.lock |
forgot to run npn run lint:fix
|
|
librewolf-website
The wip new librewolf website built with Nextra and Next.js.
Getting Started
If you haven't installed it yet, install Node.js and yarn. Then, to install all the dependencies, run this in the source code directory:
yarn
After that, you can run the development server:
yarn dev
Open http://localhost:3000 with your browser to see the website.
All of the content of the website is located in markdown files in the /pages
directory (for example, the file for Recommended Addons is located under
/pages/docs/addons.md). You can edit those files and the website will
automatically be updated.
How to host
There are two options to host this website
Run a node.js server
Run yarn build to build the site and then yarn start -p <PORT> to start a
node.js server.
Generate and serve static files
Run yarn export to build the site and export it to static html. The resulting
files are located in ./out.
This method is not recommended since some parts of the website like the windows download button or the FAQ won't be kept up to date.