Skip to content

Commit 20003cc

Browse files
committed
chore: replace placeholder intro docs for all standards sites
- Updated intro files for FRBR, ISBD, MulDiCat, and UniMARC with placeholders. - Added `sidebar_label` to metadata for better sidebar display.
1 parent bee7af9 commit 20003cc

File tree

6 files changed

+15
-177
lines changed

6 files changed

+15
-177
lines changed

packages/theme/src/config/docusaurus.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { getSiteUrl } from './siteConfig';
1212
export const standardsDropdown = (currentEnv: DocsEnv): NavbarItem => ({
1313
type: 'dropdown',
1414
label: 'Standards',
15-
position: 'left',
15+
position: 'right',
1616
items: [
1717
{ label: 'Portal Home', href: getSiteUrl('portal', '/', currentEnv) },
1818
{
@@ -113,7 +113,7 @@ export const sharedThemeConfig = {
113113
copyright: `
114114
Copyright © ${new Date().getFullYear()} International Federation of Library Associations and Institutions (IFLA)<br />
115115
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank" rel="noopener noreferrer">
116-
<img src="/img/cc0_by.png" alt="My Logo Alt Text" style="vertical-align:middle; height:24px;" />
116+
<img src="img/cc0_by.png" alt="My Logo Alt Text" style="vertical-align:middle; height:24px;" />
117117
</a>
118118
Gordon Dunsire and Mirna Willer (Main design and content editors).
119119
`,
@@ -170,7 +170,7 @@ export const staticBaseSettings: Partial<Config> = {
170170
};
171171

172172
// Function to generate the base Docusaurus configuration dynamically
173-
export const baseDocusaurusConfig = (currentEnv: DocsEnv): Partial<Config> => {
173+
export const baseDocusaurusConfig = (_currentEnv: DocsEnv): Partial<Config> => {
174174
return {
175175
...staticBaseSettings, // Spread the static base settings
176176
staticDirectories: ['static', '../../packages/theme/static'], // Standards sites path

standards/FRBR/docs/intro.md

Lines changed: 3 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,8 @@
11
---
22
sidebar_position: 1
3+
sidebar_label: Introduction
34
---
45

5-
# Tutorial Intro
6+
# Introduction to IFLA FR Family
67

7-
Let's discover **Docusaurus in less than 5 minutes**.
8-
9-
## Getting Started
10-
11-
Get started by **creating a new site**.
12-
13-
Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new)**.
14-
15-
### What you'll need
16-
17-
- [Node.js](https://nodejs.org/en/download/) version 18.0 or above:
18-
- When installing Node.js, you are recommended to check all checkboxes related to dependencies.
19-
20-
## Generate a new site
21-
22-
Generate a new Docusaurus site using the **classic template**.
23-
24-
The classic template will automatically be added to your project after you run the command:
25-
26-
```bash
27-
npm init docusaurus@latest my-website classic
28-
```
29-
30-
You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.
31-
32-
The command also installs all necessary dependencies you need to run Docusaurus.
33-
34-
## Start your site
35-
36-
Run the development server:
37-
38-
```bash
39-
cd my-website
40-
npm run start
41-
```
42-
43-
The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there.
44-
45-
The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.
46-
47-
Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes.
8+
Eventually there will be a nice introduction her

standards/isbd/docs/intro.md

Lines changed: 3 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,8 @@
11
---
22
sidebar_position: 1
3+
sidebar_label: Introduction
34
---
45

5-
# Tutorial Intro
6+
# Introduction to IFLA ISBD
67

7-
Let's discover **Docusaurus in less than 5 minutes**.
8-
9-
## Getting Started
10-
11-
Get started by **creating a new site**.
12-
13-
Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new)**.
14-
15-
### What you'll need
16-
17-
- [Node.js](https://nodejs.org/en/download/) version 18.0 or above:
18-
- When installing Node.js, you are recommended to check all checkboxes related to dependencies.
19-
20-
## Generate a new site
21-
22-
Generate a new Docusaurus site using the **classic template**.
23-
24-
The classic template will automatically be added to your project after you run the command:
25-
26-
```bash
27-
npm init docusaurus@latest my-website classic
28-
```
29-
30-
You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.
31-
32-
The command also installs all necessary dependencies you need to run Docusaurus.
33-
34-
## Start your site
35-
36-
Run the development server:
37-
38-
```bash
39-
cd my-website
40-
npm run start
41-
```
42-
43-
The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there.
44-
45-
The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.
46-
47-
Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes.
8+
Eventually there will be a nice introduction her

standards/muldicat/docs/intro.md

Lines changed: 3 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,8 @@
11
---
22
sidebar_position: 1
3+
sidebar_label: Introduction
34
---
45

5-
# Tutorial Intro
6+
# Introduction to IFLA MulDiCat
67

7-
Let's discover **Docusaurus in less than 5 minutes**.
8-
9-
## Getting Started
10-
11-
Get started by **creating a new site**.
12-
13-
Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new)**.
14-
15-
### What you'll need
16-
17-
- [Node.js](https://nodejs.org/en/download/) version 18.0 or above:
18-
- When installing Node.js, you are recommended to check all checkboxes related to dependencies.
19-
20-
## Generate a new site
21-
22-
Generate a new Docusaurus site using the **classic template**.
23-
24-
The classic template will automatically be added to your project after you run the command:
25-
26-
```bash
27-
npm init docusaurus@latest my-website classic
28-
```
29-
30-
You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.
31-
32-
The command also installs all necessary dependencies you need to run Docusaurus.
33-
34-
## Start your site
35-
36-
Run the development server:
37-
38-
```bash
39-
cd my-website
40-
npm run start
41-
```
42-
43-
The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there.
44-
45-
The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.
46-
47-
Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes.
8+
Eventually there will be a nice introduction here

standards/muldicat/docusaurus.config.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,6 @@ const config: Config = {
9898
src: 'img/logo-ifla_black.png',
9999
},
100100
items: [
101-
{
102-
type: 'doc',
103-
position: 'left',
104-
docId: 'intro',
105-
label: 'Introduction',
106-
},
107101
...navbarItems,
108102
standardsDropdown(currentEnv),
109103
{ to: '/blog', label: 'Blog', position: 'right' },

standards/unimarc/docs/intro.md

Lines changed: 3 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,8 @@
11
---
22
sidebar_position: 1
3+
sidebar_label: Introduction
34
---
45

5-
# Tutorial Intro
6+
# Introduction to IFLA UniMARC
67

7-
Let's discover **Docusaurus in less than 5 minutes**.
8-
9-
## Getting Started
10-
11-
Get started by **creating a new site**.
12-
13-
Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new)**.
14-
15-
### What you'll need
16-
17-
- [Node.js](https://nodejs.org/en/download/) version 18.0 or above:
18-
- When installing Node.js, you are recommended to check all checkboxes related to dependencies.
19-
20-
## Generate a new site
21-
22-
Generate a new Docusaurus site using the **classic template**.
23-
24-
The classic template will automatically be added to your project after you run the command:
25-
26-
```bash
27-
npm init docusaurus@latest my-website classic
28-
```
29-
30-
You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.
31-
32-
The command also installs all necessary dependencies you need to run Docusaurus.
33-
34-
## Start your site
35-
36-
Run the development server:
37-
38-
```bash
39-
cd my-website
40-
npm run start
41-
```
42-
43-
The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there.
44-
45-
The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.
46-
47-
Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes.
8+
Eventually there will be a nice introduction her

0 commit comments

Comments
 (0)