Socket
Socket
Sign inDemoInstall

@firebase/api-documenter

Package Overview
Dependencies
38
Maintainers
4
Versions
852
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @firebase/api-documenter

Read JSON files from api-extractor, generate documentation pages


Version published
Weekly downloads
402
decreased by-52.37%
Maintainers
4
Install size
12.3 MB
Created
Weekly downloads
 

Readme

Source

@firebase/api-documenter

It is a fork of API Documenter It reads the *.api.json data files produced by API Extractor, and then generates files in Markdown format suitable for displaying in Firebase Devsite.

Generate toc for Firebase devsite

api-documenter-fire toc -i temp -p "/docs/reference/js/v9"

-i and -p (--host-path) are required parameters. Use -i to specify the folder that contains api.json files. Use -p to specify the g3 path that contains the reference docs.

By default, the command will create toc.yaml in folder /toc. To change the output folder, use the flag -o.

To generate toc for the Firebase JS SDK, also set the flag -j to create the top level firebase toc item.

FAQs

Last updated on 18 Jan 2024

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc