This repository holds source code for the creator documentation at create.highrise.game.
If you're not sure about the process of contributing through GitHub, please refer to About pull requests.
Note: Currently, the repository has guides, tutorials, educational content, and the Studio API reference. Code samples are coming soon.
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 Highrise creator forums.
All additions to Highrise Creator documentation need to align with our existing approach and standards and should be applicable to a wide range of experiences and use cases.
When submitting a pull request for review, please agree to the conditions listed below:
- This contribution was created in whole or in part by me, and I have the right to submit it under the terms of this repository's open source licenses.
- I understand and agree that this contribution and a record of it are public, maintained indefinitely, and may be redistributed under the terms of this repository's open source licenses.
- To the best of my knowledge, all proposed changes are accurate.
For simple changes that only touch a single file, use GitHub's web-based editor:
- Find the file in
content/en-us/
and click Edit this file. - Click Fork this repository.
- Make your changes and click Commit changes....
- Give your change a descriptive commit message and click Propose changes.
- Ensure that the base repository is
pocketzworld/creator-docs
and the base branch ismain
. Verify that you're happy with your changes and click Create pull request. - Finally, fill out the details in the pull request description 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:
- Fork the repository.
- While browsing your fork, press the . key to open github.dev.
- In the Source Control menu, click ... > Branch > Create Branch....
- Give the branch a name and click Switch to Branch.
- Use the Explorer menu to find the files you want to update in
content/en-us
, and make your desired changes. - In the Source Control menu, verify that you're happy with your changes.
- Add a commit message and click Commit & Push.
- In a new browser tab, navigate to github.com/pocketzworld/creator-docs.
- Click Compare & pull request.
- Verify that the base repository is
pocketzworld/creator-docs
and the base branch ismain
. The head repository should be your fork and your branch. - Finally, fill out the details in the pull request description and click Create pull request.
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.
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:
- Set up Git. Alternatively, install a Git client like GitHub Desktop.
- Fork this repository.
- Clone your fork.
- Navigate to the repository root.
- Create a new branch.
- Make your desired changes.
- Commit, push to your fork, and submit your pull request against this repository's
main
branch.
For more detailed steps, see CONTRIBUTING.md.
The Highrise documentation has three main document types:
-
Guides and tutorials are placed in
.md
files in pagesThese documents are often tutorial or guide based and should use a friendly and conversation driven tone. Information should be easy to understand, brief, and directly to the point. If the contents appear lengthy, consider dividing information over multiple pages.
-
LUA API reference documents can be found in
.yaml
files in pagesAPI elements like classes, enums, etc. should have documentation in YAML files. For reference, check
-
Navigation and structure is defined in
_meta.json
This file defines the navigation structure of the documentation (order and titles). Routing is handled automatically based on directory structure. If you want to add a new page, you need to add a new entry to
_meta.json
in the following format:{ "page_name": { "title": "Page Title", "redirectTo(optional)": "path" } }
-
Assets are saved as
.png
and.jpg
files in assetsThese files are used to illustrate the documentation and should be saved in the highest possible resolution. Aim for less than 200kb per image. Maximum displayed image width is 724px, for HiDPI displays, images should be at least 1448px wide.
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 Highrise creator 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 LUASTYLE.md.
To view a page fully formatted per what we see on the main
branch, use a markdown visualizer tool like markdown visualizer.
- For prose, this project uses the Creative Commons Attribution 4.0 International Public License. For full license text, see LICENSE.
- Code samples are available under the MIT License. For full license text, see LICENSE-CODE.