Skip to content

nahpu/np-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

np-docs

A tool suite to build multi-language documentation from Google Docs. It is designed for the NAHPU project, but it can be adapted for other projects as well.

Setup

Clone the repository

git clone https://github.com/nahpu/nahpu-doc-tools.git

# or using GH CLI
gh repo clone nahpu/nahpu-doc-tools

Install the dependencies

First, install uv if you haven't already. Then, run the following command to install the dependencies:

uv sync

Setup Google API credentials

Follow the instructions in the Google API documentation to create a project, enable the Google Docs API, and obtain the credentials.json file. Place this file in the root directory of the project.

Configure environment variables

Create a .env file in the root directory of the project and add the following environment variables:

GDRIVE_API_KEY="your_public_google_drive_api_key"
DOCS_FOLDER_URL="link_to_docs_folder_on_google_drive"

Replace link_to_docs_folder_on_google_drive with the actual URL of the Google Drive folder containing your documentation.

About

A tool suite to build nahpu documentation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages