breslavsky commited on
Commit
131500b
·
1 Parent(s): 2f54660

First specs

Browse files
docs/intro.md CHANGED
@@ -4,7 +4,7 @@ sidebar_position: 1
4
 
5
  # Tutorial Intro
6
 
7
- Let's discover **Docusaurus in less than 5 minutes**.
8
 
9
  ## Getting Started
10
 
 
4
 
5
  # Tutorial Intro
6
 
7
+ Let's discover **Piper in less than 5 minutes**.
8
 
9
  ## Getting Started
10
 
docusaurus.config.ts CHANGED
@@ -40,7 +40,7 @@ const config: Config = {
40
  // Please change this to your repo.
41
  // Remove this to remove the "edit this page" links.
42
  editUrl:
43
- 'https://huggingface.co/spaces/PiperMy/Academy/tree/main',
44
  },
45
  blog: {
46
  showReadingTime: true,
@@ -51,7 +51,7 @@ const config: Config = {
51
  // Please change this to your repo.
52
  // Remove this to remove the "edit this page" links.
53
  editUrl:
54
- 'https://huggingface.co/spaces/PiperMy/Academy/tree/main',
55
  // Useful options to enforce blogging best practices
56
  onInlineTags: 'warn',
57
  onInlineAuthors: 'warn',
@@ -65,7 +65,9 @@ const config: Config = {
65
  ],
66
 
67
  themeConfig: {
68
- // Replace with your project's social card
 
 
69
  image: 'img/docusaurus-social-card.jpg',
70
  navbar: {
71
  title: 'Piper.My',
@@ -78,7 +80,7 @@ const config: Config = {
78
  type: 'docSidebar',
79
  sidebarId: 'tutorialSidebar',
80
  position: 'left',
81
- label: 'Tutorial',
82
  },
83
  {to: '/blog', label: 'Blog', position: 'left'},
84
  {
 
40
  // Please change this to your repo.
41
  // Remove this to remove the "edit this page" links.
42
  editUrl:
43
+ 'https://huggingface.co/spaces/PiperMy/Academy/blob/main/',
44
  },
45
  blog: {
46
  showReadingTime: true,
 
51
  // Please change this to your repo.
52
  // Remove this to remove the "edit this page" links.
53
  editUrl:
54
+ 'https://huggingface.co/spaces/PiperMy/Academy/blob/main/',
55
  // Useful options to enforce blogging best practices
56
  onInlineTags: 'warn',
57
  onInlineAuthors: 'warn',
 
65
  ],
66
 
67
  themeConfig: {
68
+ typography: {
69
+ fontFamily: 'JetBrains Mono, monospace',
70
+ },
71
  image: 'img/docusaurus-social-card.jpg',
72
  navbar: {
73
  title: 'Piper.My',
 
80
  type: 'docSidebar',
81
  sidebarId: 'tutorialSidebar',
82
  position: 'left',
83
+ label: 'Tutorials',
84
  },
85
  {to: '/blog', label: 'Blog', position: 'left'},
86
  {
package-lock.json CHANGED
@@ -10,6 +10,7 @@
10
  "dependencies": {
11
  "@docusaurus/core": "3.7.0",
12
  "@docusaurus/preset-classic": "3.7.0",
 
13
  "@mdx-js/react": "^3.0.0",
14
  "clsx": "^2.0.0",
15
  "prism-react-renderer": "^2.3.0",
@@ -3808,6 +3809,15 @@
3808
  "node": ">=18.0"
3809
  }
3810
  },
 
 
 
 
 
 
 
 
 
3811
  "node_modules/@hapi/hoek": {
3812
  "version": "9.3.0",
3813
  "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz",
 
10
  "dependencies": {
11
  "@docusaurus/core": "3.7.0",
12
  "@docusaurus/preset-classic": "3.7.0",
13
+ "@fontsource/jetbrains-mono": "^5.2.5",
14
  "@mdx-js/react": "^3.0.0",
15
  "clsx": "^2.0.0",
16
  "prism-react-renderer": "^2.3.0",
 
3809
  "node": ">=18.0"
3810
  }
3811
  },
3812
+ "node_modules/@fontsource/jetbrains-mono": {
3813
+ "version": "5.2.5",
3814
+ "resolved": "https://registry.npmjs.org/@fontsource/jetbrains-mono/-/jetbrains-mono-5.2.5.tgz",
3815
+ "integrity": "sha512-TPZ9b/uq38RMdrlZZkl0RwN8Ju9JxuqMETrw76pUQFbGtE1QbwQaNsLlnUrACNNBNbd0NZRXiJJSkC8ajPgbew==",
3816
+ "license": "OFL-1.1",
3817
+ "funding": {
3818
+ "url": "https://github.com/sponsors/ayuhito"
3819
+ }
3820
+ },
3821
  "node_modules/@hapi/hoek": {
3822
  "version": "9.3.0",
3823
  "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz",
package.json CHANGED
@@ -17,6 +17,7 @@
17
  "dependencies": {
18
  "@docusaurus/core": "3.7.0",
19
  "@docusaurus/preset-classic": "3.7.0",
 
20
  "@mdx-js/react": "^3.0.0",
21
  "clsx": "^2.0.0",
22
  "prism-react-renderer": "^2.3.0",
 
17
  "dependencies": {
18
  "@docusaurus/core": "3.7.0",
19
  "@docusaurus/preset-classic": "3.7.0",
20
+ "@fontsource/jetbrains-mono": "^5.2.5",
21
  "@mdx-js/react": "^3.0.0",
22
  "clsx": "^2.0.0",
23
  "prism-react-renderer": "^2.3.0",
src/css/custom.css CHANGED
@@ -5,6 +5,8 @@
5
  */
6
 
7
  /* You can override the default Infima variables here. */
 
 
8
  :root {
9
  --ifm-color-primary: #5468ff;
10
  --ifm-color-primary-dark: #1b2caa;;
@@ -15,6 +17,7 @@
15
  --ifm-color-primary-lightest: #3cad6e;
16
  --ifm-code-font-size: 95%;
17
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
 
18
  }
19
 
20
  /* For readability concerns, you should choose a lighter palette in dark mode. */
 
5
  */
6
 
7
  /* You can override the default Infima variables here. */
8
+ @import '@fontsource/jetbrains-mono';
9
+
10
  :root {
11
  --ifm-color-primary: #5468ff;
12
  --ifm-color-primary-dark: #1b2caa;;
 
17
  --ifm-color-primary-lightest: #3cad6e;
18
  --ifm-code-font-size: 95%;
19
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
20
+ --ifm-font-family-base: 'JetBrains Mono', monospace;
21
  }
22
 
23
  /* For readability concerns, you should choose a lighter palette in dark mode. */
static/img/logo.svg CHANGED