Skip to content

Commit

Permalink
Update markdoc and allow comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lorisleiva committed Jul 31, 2023
1 parent 38379c9 commit fe408a1
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 36 deletions.
4 changes: 3 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ const nextConfig = {
},
}

module.exports = withMarkdoc()(nextConfig)
module.exports = withMarkdoc({
tokenizerOptions: { allowComments: true },
})(nextConfig)
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"@docsearch/react": "^3.2.1",
"@headlessui/react": "^1.7.13",
"@heroicons/react": "^2.0.18",
"@markdoc/markdoc": "0.1.7",
"@markdoc/next.js": "0.1.6",
"@markdoc/markdoc": "0.3.0",
"@markdoc/next.js": "0.2.3",
"@sindresorhus/slugify": "^2.1.0",
"@tailwindcss/typography": "^0.5.7",
"autoprefixer": "^10.4.12",
Expand Down
51 changes: 41 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 11 additions & 23 deletions src/pages/token-metadata/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,9 @@ The Token Metadata program is a fundamental program when dealing NFTs and Fungib

{% quick-links %}

{% quick-link title="Installation" icon="InboxArrowDown" href="/" description="Step-by-step guides to setting up your system and installing the library." /%}
{% quick-link title="Getting Started" icon="InboxArrowDown" href="/token-metadata/getting-started" description="Find the language or library of your choice and get started with digital assets on Solana." /%}

{% quick-link title="Architecture guide" icon="CubeTransparent" href="/" description="Learn how the internals work and contribute." /%}

{% quick-link title="Plugins" icon="SquaresPlus" href="/" description="Extend the library with third-party plugins or write your own." /%}

{% quick-link title="API reference" icon="CodeBracketSquare" href="/" description="Learn to easily customize and modify your app's visual design to fit your brand." /%}
{% quick-link title="API reference" icon="CodeBracketSquare" href="/token-metadata/references" description="Looking for something specific? Have a peak at our API References and find your answer." /%}

{% /quick-links %}

Expand Down Expand Up @@ -484,21 +480,13 @@ You can [read more about Programmable NFTs here](https://github.com/metaplex-fou

Whilst this provides a good overview of the Token Metadata program and what it has to offer, there’s still a lot more that can be done with it.

The other pages of the “Token Metadata” section aim to document it further and explain significant features in their own individual pages.

The next three pages focus on helping you get started with the Token Metadata program and provide detailed information on the accounts and instructions it provides, so you get the full picture and can refer back to them in the future.

- [Getting started](/token-metadata/getting-started)
- [Accounts](/token-metadata/accounts)
- [Instructions](/token-metadata/instructions)

The next pages act as in-depth guides on certain features offered by the program.

- [Token Standard](/token-metadata/token-standard)
- [Certified Collections](/token-metadata/certified-collections)
- [Using NFTs](/token-metadata/using-nfts)

Finally, the last two pages answer frequently asked questions and document version updates.
The other pages of this documentation aim to document it further and explain significant features in their own individual pages.

- [FAQ](/token-metadata/faq)
- [Changelog](/token-metadata/changelog/)
- [TODO](/token-metadata/TODO)
- [TODO](/token-metadata/TODO)
- [TODO](/token-metadata/TODO)
- [TODO](/token-metadata/TODO)
- [TODO](/token-metadata/TODO)
- [TODO](/token-metadata/TODO)
- [TODO](/token-metadata/TODO)
- [TODO](/token-metadata/TODO)

0 comments on commit fe408a1

Please sign in to comment.