Skip to content

Instantly share code, notes, and snippets.

@think-in-universe
Created November 6, 2019 02:43
Show Gist options
  • Select an option

  • Save think-in-universe/a979a3d12e97b3949ac72e78c4462587 to your computer and use it in GitHub Desktop.

Select an option

Save think-in-universe/a979a3d12e97b3949ac72e78c4462587 to your computer and use it in GitHub Desktop.
yarn run v1.16.0
$ node scripts/generateHeadingIDs.js docs/enterprise
>>> processing docs/enterprise/index.md
{
'1.0.0': { text: 'Enterprise Resources', slug: 'enterprise-resources' },
'1.1.0': { text: 'Why Enterprise Ethereum?', slug: 'why-enterprise-ethereum' },
'1.2.0': { text: 'Organizations', slug: 'organizations' },
'1.3.0': {
text: 'Enterprise Focused Services',
slug: 'enterprise-focused-services'
},
'1.4.0': {
text: 'Protocol and Infrastructure',
slug: 'protocol-and-infrastructure'
},
'1.5.0': { text: 'Enterprise Features', slug: 'enterprise-features' },
'1.5.1': { text: 'Permissioning', slug: 'permissioning' },
'1.5.2': { text: 'Privacy', slug: 'privacy' },
'1.5.3': { text: 'Security', slug: 'security' },
'1.5.4': { text: 'Tooling', slug: 'tooling' },
'1.6.0': {
text: 'Enterprise Developer Community',
slug: 'enterprise-developer-community'
}
}
>>> processing docs/enterprise/index.md
write heading ID 1.0.0 Enterprise Resources ==> enterprise-resources
write heading ID 1.1.0 Why Enterprise Ethereum? ==> why-enterprise-ethereum
write heading ID 1.2.0 Organizations ==> organizations
write heading ID 1.3.0 Enterprise Focused Services ==> enterprise-focused-services
write heading ID 1.4.0 Protocol and Infrastructure ==> protocol-and-infrastructure
write heading ID 1.5.0 Enterprise Features ==> enterprise-features
write heading ID 1.5.1 Permissioning ==> permissioning
write heading ID 1.5.2 Privacy ==> privacy
write heading ID 1.5.3 Security ==> security
write heading ID 1.5.4 Tooling ==> tooling
write heading ID 1.6.0 Enterprise Developer Community ==> enterprise-developer-community
✨ Done in 0.24s.
@samajammin
Copy link

👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment