Are you looking for something? Here is all of the GitHub Docs history in one single commit. Enjoy! 🎉
22 lines
476 B
JavaScript
Executable File
22 lines
476 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
const fs = require('fs')
|
|
const path = require('path')
|
|
const productsFile = path.join(process.cwd(), 'data/products.yml')
|
|
|
|
const contents = `# this sequence sets the product order in the sidebar
|
|
# the product IDs match keys in lib/all-products.js
|
|
# note this file should not be translated
|
|
productsInOrder:
|
|
- github
|
|
- admin
|
|
- actions
|
|
- packages
|
|
- developers
|
|
- rest
|
|
- graphql
|
|
- insights
|
|
- desktop`
|
|
|
|
fs.writeFileSync(productsFile, contents)
|