neoforged / Documentation

The repository containing Neo's documentation
MIT License
28 stars 53 forks source link

Add Feature Flags documentation #184

Closed ApexModder closed 1 week ago

ApexModder commented 1 month ago

Initial rough write up of documentation for custom feature flags.

Goes over how to register and lookup a custom flag, mark elements as requiring said flag and how provide a feature pack to allow users to enable said flag.

Documentation can be found under NeoForge Documentation > Advanced Topics

This depends on either of the existing flag prs https://github.com/neoforged/NeoForge/pull/1619 https://github.com/neoforged/NeoForge/pull/1538

First time writing documentation like this, please let me know how/where I can improve anything.


Preview URL: https://pr-184.neoforged-docs-previews.pages.dev

neoforged-pages-deployments[bot] commented 1 month ago

Deploying with Cloudflare Pages

Name Result
Last commit: 99849bef05f4931d27c47480701120323b0b2d09
Status: ✅ Deploy successful!
Preview URL: https://88d9d96f.neoforged-docs-previews.pages.dev
PR Preview URL: https://pr-184.neoforged-docs-previews.pages.dev
thomasglasser commented 1 week ago

It may be better for readability to move the external section below the built-in section