yarn -> npm, docusaurus v2 -> v3; add tailwindcss, mdx
This commit is contained in:
parent
c2e95a3296
commit
86145d6c26
15 changed files with 6736 additions and 13554 deletions
|
@ -1,6 +1,8 @@
|
|||
/** @type {import('@docusaurus/types').DocusaurusConfig} */
|
||||
const math = require('remark-math');
|
||||
const katex = require('rehype-katex');
|
||||
|
||||
import remarkMath from 'remark-math';
|
||||
import rehypeKatex from 'rehype-katex';
|
||||
|
||||
module.exports = {
|
||||
title: 'Robossembler',
|
||||
tagline: 'Отворённая Робототехника',
|
||||
|
@ -88,8 +90,8 @@ module.exports = {
|
|||
'https://gitlab.com/robossembler/robossembler.gitlab.io/-/edit/master/',
|
||||
showLastUpdateAuthor: true,
|
||||
showLastUpdateTime: true,
|
||||
remarkPlugins: [math],
|
||||
rehypePlugins: [katex],
|
||||
remarkPlugins: [remarkMath],
|
||||
rehypePlugins: [rehypeKatex],
|
||||
},
|
||||
blog: {
|
||||
showReadingTime: true,
|
||||
|
@ -105,9 +107,10 @@ module.exports = {
|
|||
],
|
||||
stylesheets: [
|
||||
{
|
||||
href: 'https://cdn.jsdelivr.net/npm/katex@0.13.11/dist/katex.min.css',
|
||||
href: 'https://cdn.jsdelivr.net/npm/katex@0.13.24/dist/katex.min.css',
|
||||
type: 'text/css',
|
||||
integrity:
|
||||
'sha384-Um5gpz1odJg5Z4HAmzPtgZKdTBHZdw8S29IecapCSB31ligYPhHQZMIlWLYQGVoc',
|
||||
'sha384-odtC+0UGzzFL/6PNoE8rX/SPcQDXBJ+uRepguP4QkPCm2LBxH3FA3y+fKSiJ+AmM',
|
||||
crossorigin: 'anonymous',
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue