intercom-to-docusaurus
v1.0.9
Published
Converting intercom articles to docusaurus articles
Downloads
53
Readme
Intercom to Docusaurus Docs
This pulls Intercom articles and formats them for md files to use on docusaurus.
How to use
Create an .env
file with INTERCOM_ACCESS_TOKEN
set to the intercom api access token in the repo you are using this
npm install intercom-to-docusuarus
Add something like this to the project you want to run the command:
const articlesOutput = require("intercom-to-docusaurus");
const folderPath = "../docs";
articlesOutput(folderPath);
The folder path is the folder you want the files to be located at.
Navigate into the location of the file and run node [name_of_file].js