Skip to content

Documentation for Vectara's Neural Platform

Notifications You must be signed in to change notification settings

danielone/vectara-docs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vectara Docs

Welcome to the repo for the Vectara API Documentation! This documentation is built with Docusaurus 2 and is hosted at docs.vectara.com

Local Development and Contributions

For anything other than minor changes, clone the repository onto your local machine and build the documentation locally. It's often helpful to see the changes you make live, which can be done by running the following command:

$ yarn start

This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.

After you've validated the content looks correct, please run the following once:

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service. Importantly, it will do things like link checking to ensure all of the links are valid.

Once you've got the updates in a good shape, feel free to submit a pull request!

Advanced

$ yarn gen-api-docs

This will regenerate docs/rest-api from the static/vectara-oas.yaml file. Note that this only regenerates a subset of files, and files need to be manually deleted before they're regenerated. To regenerate all files, delete all existing files in that directory except for:

  • sidebar.js
  • vectara-rest-api.info.mdx
$ yarn serve

This serves the "build" directory at: http://localhost:3000/. This is useful for mimicking the behavior of a production server.

Deployment

When code/new docs are merged to the main branch on GitHub, the entire repo will automatically be deployed within a few minutes to docs.vectara.com

About

Documentation for Vectara's Neural Platform

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 82.6%
  • CSS 17.3%
  • HTML 0.1%