mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-24 03:57:06 -04:00
docs: consolidate docs (#2182)
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
8d46d7e39e
commit
ecffebc43c
307 changed files with 1474 additions and 487 deletions
|
@ -7,6 +7,12 @@
|
|||
import { customizeAssetsUrl } from '../../utils/customize-assets-url'
|
||||
import { defaultConfig } from '../../api/common/default-config'
|
||||
|
||||
/**
|
||||
* Get the intro.md contents from the public directory.
|
||||
*
|
||||
* @return The content of intro.md
|
||||
* @throws {Error} if the content can't be fetched
|
||||
*/
|
||||
export const fetchFrontPageContent = async (): Promise<string> => {
|
||||
const response = await fetch(customizeAssetsUrl + 'intro.md', {
|
||||
...defaultConfig,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue