🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@google-cloud/cloud-rad

Package Overview
Dependencies
Maintainers
2
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/cloud-rad

Helper tool to generate documentation for Nodejs client libraries and upload them to [https://cloud.google.com/nodejs/docs/reference](https://cloud.google.com/nodejs/docs/reference).

latest
Source
npmnpm
Version
0.4.10
Version published
Weekly downloads
195
-58.33%
Maintainers
2
Weekly downloads
 
Created
Source

nodejs-cloud-rad

Helper tool to generate documentation for Nodejs client libraries and upload them to https://cloud.google.com/nodejs/docs/reference.

Run locally

Inside a client library, run:

npm install
npm install --no-save https://github.com/googleapis/nodejs-cloud-rad#main

npx @google-cloud/cloud-rad 

Set NO_UPLOAD=1 to generate the docfx yaml without attempting to upload to Cloud RAD.

Ignore the warnings about pip. There should be a _devsite folder with yaml files. Install docfx. Clone https://github.com/googleapis/doc-templates outside of the client library.

Create the following docfx.json file inside the client library:

{
  "build": {
    "content": [
      {
        "files": ["**/*.yml"],
        "src": "_devsite/",
        "dest": "api"
      }
    ],
    "dest": "_site",
    "template": [
      "/absolute path to/doc-templates/third_party/docfx/templates/devsite"
    ]
  } 
}

Run docfx --serve. You should see docs without CSS styling on localhost:8080/api.

FAQs

Package last updated on 18 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts