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.
git clone https://github.com/nahpu/nahpu-doc-tools.git
# or using GH CLI
gh repo clone nahpu/nahpu-doc-toolsFirst, install uv if you haven't already. Then, run the following command to install the dependencies:
uv syncFollow 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.
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.