Open ormwish opened 1 year ago
To make documents a part of the knowledge graph, you need to update several files in the project. Here are the steps to follow:
Update the env.d.ts
file:
env.d.ts
file.Update the people.ts
file:
people.ts
file located in .vitepress/theme/data/
.people
object and update it with information about the relevant individuals associated with the documents.people
object.Update the gtag.ts
file:
gtag.ts
file located in .vitepress/theme/scripts/
.sendEvent
function to include additional event data or customize the event tracking based on your requirements.Update the links.ts
file:
links.ts
file located in docs/
.LinkItem
objects, where each object represents a link with properties like text
and link
.Update the config.ts
file:
config.ts
file located in .vitepress/
.title
, description
, lang
, siteTitle
, logo
, algolia
, editLink
, nav
, and sidebar
based on your requirements.Update the index.ts
file:
index.ts
file located in docs/guides/user-guide/starters/
.dotNewLinks
array and add or update the links as needed.title
, link
, icon
, and iconInvert
.Update the edit-link.ts
file:
edit-link.ts
file located in .vitepress/theme/scripts/
.clickListener
function, add the necessary logic to handle the editing or updating of documents.Update the index.ts
file:
index.ts
file located in .vitepress/theme/
.Layout
property of the exported object to use the custom layout component that incorporates the display and navigation of documents within the knowledge graph.Remember to review the other relevant files mentioned in the task and update them accordingly to fully integrate the documents into the knowledge graph.
Current plan usage: NaN%
task #issues #tbd #documentation #reinforcement #ai-agents #vitepress
See the last commit to README.md.