Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Flax Engine Documentation

License

NotificationsYou must be signed in to change notification settings

FlaxEngine/FlaxDocs

Repository files navigation

Flax Engine Docs

Welcome to the Flax documentation repository. This repository contains all the source files for the Flax documentation (https://docs.flaxengine.com/). Anyone is welcome to contribute!

Editing

We useDocFX tool for building and hosting documentation online. It supports markdown style files (.md) as it's a very standardized and popular format. Writing technical documentation using markdown style is easy and efficient.

To edit docs we recommend you to use tools such asZettlr orTypora orVisual Studio Code.

Building and Testing

Documentation can be built and hosted on both Linux and Windows. DocFx can run on .Net or Mono. By default the site is hosted onlocalhost:8080 but this can be easily configured.

Windows

  • Download repository (or clone withgit clone https://github.com/FlaxEngine/FlaxDocs.git)
  • Callbuild_manual.bat to build the Manual orbuild_all.bat to build whole documentation (with API) but it will take more time to finish
  • Callrun_local_website.bat to preview the site

Linux

  • InstallMono
  • Clone repository (git clone https://github.com/FlaxEngine/FlaxDocs.git)
  • Callchmod +x docs.sh. It will modify permissions for the scriptdocs.sh to allow to execute it
  • Call./docs.sh rebuild

Technical Notes

C# and C++ API reference pages are generated by downloading and building engine at a given revision specified in filecommit.txt. C# API is extracted viadocfx metadata intoapi folder. C++ API is extracted via our custom fork ofcode2yaml which parses engine header files withdoxygen to generate metadata intoapi-cpp folder.

Key configuration files:

  • docfx.json - config for docfx documentation building.
  • code2yaml.json - config for code2yaml used to extract api docs for C++.
  • doxyfile - config for doxygen to output xml files with engine api to be processed by code2yaml.
  • commit.txt - contains commit hash of theFlaxEngine revision to use for the API building.
  • .github\workflows\docs-publish.yml - Github Actions workflow triggered on git tagupdate-<version> that builds whole docs with api and publishes them toFlaxDocsHost for static hosting on Github Pages.
  • .github\workflows\docs-build.yml - Github Actions workflow triggered on push/pr that builds manual without api to verify the integrity of the modified docs (eg. warns about invalid links or missing files).

Licensing

Creative Commons License
FlaxDocs is licensed under aCreative Commons Attribution 4.0 International License.


[8]ページ先頭

©2009-2025 Movatter.jp