Roblox / creator-docs
- пятница, 1 сентября 2023 г. в 00:00:06
Open Source Creator Documentation
This repository holds source code for the creator documentation at create.roblox.com/docs.
Note: Currently, the repository has guides, tutorials, and educational content. Engine API reference files and code samples are coming soon.
If you're unfamiliar with the GitHub contribution process, see About pull requests and the following video.
If you find a problem with the documentation and don't want to submit a pull request, please let us know by reporting it on the Roblox developer forums.
Any addition to the Roblox creator documentation has to fit within the larger whole. In other words, even a comprehensive, accurate, well-written blog post or technical whitepaper might not have a home on the website.
Generally speaking, we look for content that conforms to our existing standards and applies to a wide variety of experiences and use cases. For example, we prefer pages like Building User Interfaces to pages like Creating a Speedometer for a Racing Game. Consider posting more specialized guides to the Roblox developer forum.
When you submit a pull request for review, you must agree to the following:
For simple changes that only touch a single file, use GitHub's web-based editor:
content/en-us/
and click Edit this file.Roblox/creator-docs
and the base branch is main
. Verify that you're happy with your changes and click Create pull request.For larger changes that touch multiple files, we recommend github.dev, a more full-featured text editor based on Visual Studio Code that runs in your browser:
content/en-us
, and make your desired changes.Roblox/creator-docs
and the base branch is main
. The head repository should be your fork and your branch.Alternatively, you can use the GitHub or GitHub Pull Request menus in github.dev to submit the pull request. For documentation on using github.dev, see GitHub Codespaces.
This repository is extremely large, so we recommend using the online options whenever possible. However, if you're already familiar with the general GitHub workflow and want to use an offline text editor, here are the basic steps for contributing to the documentation:
main
branch.For more detailed steps, see CONTRIBUTING.md.
The Roblox documentation has three main document types:
Conceptual and task-based guides in .md
files in content/en-us/
Guides teach you about a feature or workflow without being overly prescriptive about the end result. They introduce concepts and features and cover the tasks you can accomplish using various tools or other approaches.
Guides benefit massively from practical, real-world use cases, images, code snippets, and diagrams. Most task-based content should include a numbered list.
(Coming soon) API reference docs in .yaml
files in content/en-us/reference
APIs are entirely reference content and should use functional descriptions, linking to guides where appropriate. More than other content types, reference content should be terse and direct; summaries for properties, methods, events, and callbacks don't need to be full sentences.
Tutorials in .md
files in content/en-us/tutorials
Compared to task-based guides, tutorials are more self-contained and take you from nothing to something. This focus on creating something specific means they're typically much more prescriptive than guides. Tutorials often touch multiple features and concepts at the same time, demonstrating the connections between tools and strategies.
If your contribution doesn't fit within these categories or covers a particularly narrow subject, it might not be a good fit for the documentation. Consider posting it to the Roblox developer forum.
Try to limit your edits to one class or feature so that the pull request is easier to review. Bug fixes and smaller improvements have a higher likelihood of fast approval. Large guides often require significant back-and-forth before publication.
To avoid formatting issues, we recommend text editors like github.dev that let you preview Markdown as you write it. For prose, try to follow the guidelines in STYLE.md. For code samples, use the Lua Style Guide.
To maintain an open, welcoming, diverse, inclusive, and healthy community, this project enforces an adapted version of the Contributor Covenant. For more information, see CODE_OF_CONDUCT.md.