mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
More consistent linking: Use the full filename README.md (in config/setup)
This commit is contained in:
parent
f8234369c7
commit
3b901c4459
@ -219,4 +219,4 @@ Example of **object.Assign**:
|
|||||||
> **Note**
|
> **Note**
|
||||||
> default: current siteConfig (optional, default `getSiteConfig()`)
|
> default: current siteConfig (optional, default `getSiteConfig()`)
|
||||||
|
|
||||||
## For more information, read [Setup](setup/README).
|
## For more information, read [Setup](./setup/README.md).
|
||||||
|
@ -18,7 +18,7 @@ Please note that you can switch versions through the dropdown box at the top rig
|
|||||||
|
|
||||||
## Using mermaid
|
## Using mermaid
|
||||||
|
|
||||||
For the majority of users, Using the [Live Editor](https://mermaid.live/) would be sufficient, however you may also opt to deploy mermaid as a dependency or using the [Mermaid API](setup/README).
|
For the majority of users, Using the [Live Editor](https://mermaid.live/) would be sufficient, however you may also opt to deploy mermaid as a dependency or using the [Mermaid API](./setup/README.md).
|
||||||
|
|
||||||
We have compiled some Video [Tutorials](./Tutorials.md) on how to use the mermaid Live Editor.
|
We have compiled some Video [Tutorials](./Tutorials.md) on how to use the mermaid Live Editor.
|
||||||
|
|
||||||
@ -326,7 +326,7 @@ setting the options in mermaid.
|
|||||||
4. Instantiation of the configuration using the **mermaid.init** call- **Deprecated**
|
4. Instantiation of the configuration using the **mermaid.init** call- **Deprecated**
|
||||||
|
|
||||||
The list above has two ways too many of doing this. Three are deprecated and will eventually be removed. The list of
|
The list above has two ways too many of doing this. Three are deprecated and will eventually be removed. The list of
|
||||||
configuration objects are described [in the mermaidAPI documentation](setup/README).
|
configuration objects are described [in the mermaidAPI documentation](./setup/README.md).
|
||||||
|
|
||||||
## Using the `mermaidAPI.initialize`/`mermaid.initialize` call
|
## Using the `mermaidAPI.initialize`/`mermaid.initialize` call
|
||||||
|
|
||||||
|
@ -261,7 +261,7 @@ To Deploy Mermaid:
|
|||||||
- Yarn: `yarn add mermaid`
|
- Yarn: `yarn add mermaid`
|
||||||
- Pnpm: `pnpm add mermaid`
|
- Pnpm: `pnpm add mermaid`
|
||||||
|
|
||||||
### [Mermaid API](../config/setup/README):
|
### [Mermaid API](../config/setup/README.md):
|
||||||
|
|
||||||
**To deploy mermaid without a bundler, one can insert a `script` tag with an absolute address and a `mermaid.initialize` call into the HTML like so:**
|
**To deploy mermaid without a bundler, one can insert a `script` tag with an absolute address and a `mermaid.initialize` call into the HTML like so:**
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ graph TD
|
|||||||
|
|
||||||
In the `Code` section one can write or edit raw mermaid code, and instantly `Preview` the rendered result on the panel beside it.
|
In the `Code` section one can write or edit raw mermaid code, and instantly `Preview` the rendered result on the panel beside it.
|
||||||
|
|
||||||
The `Configuration` Section is for changing the appearance and behavior of mermaid diagrams. An easy introduction to mermaid configuration is found in the [Advanced usage](../config/n00b-advanced.md) section. A complete configuration reference cataloging the default values can be found on the [mermaidAPI](../config/setup/README) page.
|
The `Configuration` Section is for changing the appearance and behavior of mermaid diagrams. An easy introduction to mermaid configuration is found in the [Advanced usage](../config/n00b-advanced.md) section. A complete configuration reference cataloging the default values can be found on the [mermaidAPI](../config/setup/README.md) page.
|
||||||
|
|
||||||
![Code,Config and Preview](./img/Code-Preview-Config.png)
|
![Code,Config and Preview](./img/Code-Preview-Config.png)
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ Now, that you've seen what you should not add to your diagrams, you can play aro
|
|||||||
|
|
||||||
Configuration is the third part of Mermaid, after deployment and syntax. It deals with the different ways that Mermaid can be customized across different deployments.
|
Configuration is the third part of Mermaid, after deployment and syntax. It deals with the different ways that Mermaid can be customized across different deployments.
|
||||||
|
|
||||||
If you are interested in altering and customizing your Mermaid Diagrams, you will find the methods and values available for [Configuration](../config/setup/README) here. It includes themes.
|
If you are interested in altering and customizing your Mermaid Diagrams, you will find the methods and values available for [Configuration](../config/setup/README.md) here. It includes themes.
|
||||||
This section will introduce the different methods of configuring the behaviors and appearances of Mermaid Diagrams.
|
This section will introduce the different methods of configuring the behaviors and appearances of Mermaid Diagrams.
|
||||||
The following are the most commonly used methods, and they are all tied to Mermaid [Deployment](./n00b-gettingStarted.md) methods.
|
The following are the most commonly used methods, and they are all tied to Mermaid [Deployment](./n00b-gettingStarted.md) methods.
|
||||||
|
|
||||||
|
@ -210,4 +210,4 @@ Ensures options parameter does not attempt to override siteConfig secure keys.
|
|||||||
default: current siteConfig (optional, default `getSiteConfig()`)
|
default: current siteConfig (optional, default `getSiteConfig()`)
|
||||||
```
|
```
|
||||||
|
|
||||||
## For more information, read [Setup](setup/README).
|
## For more information, read [Setup](./setup/README.md).
|
||||||
|
@ -12,7 +12,7 @@ Please note that you can switch versions through the dropdown box at the top rig
|
|||||||
|
|
||||||
## Using mermaid
|
## Using mermaid
|
||||||
|
|
||||||
For the majority of users, Using the [Live Editor](https://mermaid.live/) would be sufficient, however you may also opt to deploy mermaid as a dependency or using the [Mermaid API](setup/README).
|
For the majority of users, Using the [Live Editor](https://mermaid.live/) would be sufficient, however you may also opt to deploy mermaid as a dependency or using the [Mermaid API](./setup/README.md).
|
||||||
|
|
||||||
We have compiled some Video [Tutorials](./Tutorials.md) on how to use the mermaid Live Editor.
|
We have compiled some Video [Tutorials](./Tutorials.md) on how to use the mermaid Live Editor.
|
||||||
|
|
||||||
@ -324,7 +324,7 @@ setting the options in mermaid.
|
|||||||
4. Instantiation of the configuration using the **mermaid.init** call- **Deprecated**
|
4. Instantiation of the configuration using the **mermaid.init** call- **Deprecated**
|
||||||
|
|
||||||
The list above has two ways too many of doing this. Three are deprecated and will eventually be removed. The list of
|
The list above has two ways too many of doing this. Three are deprecated and will eventually be removed. The list of
|
||||||
configuration objects are described [in the mermaidAPI documentation](setup/README).
|
configuration objects are described [in the mermaidAPI documentation](./setup/README.md).
|
||||||
|
|
||||||
## Using the `mermaidAPI.initialize`/`mermaid.initialize` call
|
## Using the `mermaidAPI.initialize`/`mermaid.initialize` call
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ To Deploy Mermaid:
|
|||||||
- Yarn: `yarn add mermaid`
|
- Yarn: `yarn add mermaid`
|
||||||
- Pnpm: `pnpm add mermaid`
|
- Pnpm: `pnpm add mermaid`
|
||||||
|
|
||||||
### [Mermaid API](../config/setup/README):
|
### [Mermaid API](../config/setup/README.md):
|
||||||
|
|
||||||
**To deploy mermaid without a bundler, one can insert a `script` tag with an absolute address and a `mermaid.initialize` call into the HTML like so:**
|
**To deploy mermaid without a bundler, one can insert a `script` tag with an absolute address and a `mermaid.initialize` call into the HTML like so:**
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ graph TD
|
|||||||
|
|
||||||
In the `Code` section one can write or edit raw mermaid code, and instantly `Preview` the rendered result on the panel beside it.
|
In the `Code` section one can write or edit raw mermaid code, and instantly `Preview` the rendered result on the panel beside it.
|
||||||
|
|
||||||
The `Configuration` Section is for changing the appearance and behavior of mermaid diagrams. An easy introduction to mermaid configuration is found in the [Advanced usage](../config/n00b-advanced.md) section. A complete configuration reference cataloging the default values can be found on the [mermaidAPI](../config/setup/README) page.
|
The `Configuration` Section is for changing the appearance and behavior of mermaid diagrams. An easy introduction to mermaid configuration is found in the [Advanced usage](../config/n00b-advanced.md) section. A complete configuration reference cataloging the default values can be found on the [mermaidAPI](../config/setup/README.md) page.
|
||||||
|
|
||||||
![Code,Config and Preview](./img/Code-Preview-Config.png)
|
![Code,Config and Preview](./img/Code-Preview-Config.png)
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ Now, that you've seen what you should not add to your diagrams, you can play aro
|
|||||||
|
|
||||||
Configuration is the third part of Mermaid, after deployment and syntax. It deals with the different ways that Mermaid can be customized across different deployments.
|
Configuration is the third part of Mermaid, after deployment and syntax. It deals with the different ways that Mermaid can be customized across different deployments.
|
||||||
|
|
||||||
If you are interested in altering and customizing your Mermaid Diagrams, you will find the methods and values available for [Configuration](../config/setup/README) here. It includes themes.
|
If you are interested in altering and customizing your Mermaid Diagrams, you will find the methods and values available for [Configuration](../config/setup/README.md) here. It includes themes.
|
||||||
This section will introduce the different methods of configuring the behaviors and appearances of Mermaid Diagrams.
|
This section will introduce the different methods of configuring the behaviors and appearances of Mermaid Diagrams.
|
||||||
The following are the most commonly used methods, and they are all tied to Mermaid [Deployment](./n00b-gettingStarted.md) methods.
|
The following are the most commonly used methods, and they are all tied to Mermaid [Deployment](./n00b-gettingStarted.md) methods.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user