diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..83dc1de Binary files /dev/null and b/.DS_Store differ diff --git a/.gitignore b/.gitignore index 0374db6..abe9f83 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ notebooks/__pycache__/ notebooks/state_of_the_union.txt notebooks/chroma_logs.log notebooks/.chroma/ +.DS_Store # app .next diff --git a/public/144-favicon-dark.svg b/public/144-favicon-dark.svg new file mode 100644 index 0000000..29ae559 --- /dev/null +++ b/public/144-favicon-dark.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/public/144-favicon.svg b/public/144-favicon.svg new file mode 100644 index 0000000..6ada691 --- /dev/null +++ b/public/144-favicon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/theme.config.tsx b/theme.config.tsx index a936f5d..3d7dbbf 100644 --- a/theme.config.tsx +++ b/theme.config.tsx @@ -1,5 +1,6 @@ import React from 'react' import { DocsThemeConfig } from 'nextra-theme-docs' +import { useConfig } from 'nextra-theme-docs' const config: DocsThemeConfig = { logo: ( @@ -14,6 +15,28 @@ const config: DocsThemeConfig = { ), + head: function UseHead() { + const { title } = useConfig() + return ( + <> + {title ? title + ' | Prompt Engineering Guide': 'Prompt Engineering Guide'} + + + + + + + + + )}, project: { link: 'https://github.com/dair-ai/Prompt-Engineering-Guide', },