|
|
@@ -1,4 +1,5 @@
|
|
|
# Contributing to documentation
|
|
|
+
|
|
|
This documentation serves as a comprehensive guide to help you navigate and contribute to the **Stride Docs** website.
|
|
|
|
|
|
If you're looking to make minor changes, such as adding or updating a manual, tutorial or page, or fixing a typo, feel free to jump straight to the [Content Updates](content.md#content-updates) section.
|
|
|
@@ -14,76 +15,16 @@ Here are the technologies we use to build our website:
|
|
|
- Emojis (because why not? 😎)
|
|
|
- HTML, JavaScript, CSS, JSON
|
|
|
- PowerShell scripts
|
|
|
-- GitHub Actions (CI/CD) - Don't worry, this is already set up, you don't need to worry about it.
|
|
|
-
|
|
|
-## Major Version Release Instructions
|
|
|
-
|
|
|
-Assuming the transition is from version `4.1` to `4.2`, and that the Stride source code has been updated to the corresponding .NET version, follow these steps. Note that some steps can be executed at a later stage if needed.
|
|
|
-
|
|
|
-1. Duplicate `ReleaseNotes\ReleaseNotes.md` and rename the copy to `ReleaseNotes-4.1.md`
|
|
|
-1. Update `ReleaseNotes.md`:
|
|
|
- - Change the content title to `4.2`
|
|
|
- - Replace the content with the new release notes for version `4.2`
|
|
|
- - [GitHub Release](https://github.com/stride3d/stride/releases) can be used to generate a list **What's Changed**, once the new tag was added
|
|
|
-1. Modify `ReleaseNotes\toc.yml`
|
|
|
- - `name: 4.2 release notes` with `href: ReleaseNotes.md`
|
|
|
- - `name: 4.1 release notes` with `href: ReleaseNotes-4.1.md`
|
|
|
-1. In `en\docfx.json`
|
|
|
- - `_appFooter`: Increase the version number
|
|
|
- - Change `TargetFramework` to the current framework version being used. Ensure to test this step locally
|
|
|
-1. Edit `versions.json`
|
|
|
- - Under `versions`, add the new version `4.2`
|
|
|
-1. For GitHub Actions deployment update `*.yml` files in the `.github\workflows\` folder
|
|
|
- - `dotnet-version:` Update to the related .NET version
|
|
|
-
|
|
|
-The `BuildDocs.ps1` script will manage the deployment to the `4.2` folder while maintaining accessibility to previous versions. Note, that the deployment profile must be set to not delete existing items.
|
|
|
+- GitHub Actions (CI/CD)
|
|
|
+ - Our [GitHub Actions](https://github.com/stride3d/stride-docs/tree/master/.github/workflows) are already configured for deploying to both staging and release environments.
|
|
|
+ - For personal testing or demonstration purposes, you may need to set up your own GitHub Actions. This is especially useful for showcasing proposed changes to maintainers for their approval. For guidance on this, refer to our [Deployment to GitHub Pages guide](deployment-azure.md#deployment-to-github-pages).
|
|
|
|
|
|
-### Other locations to update
|
|
|
+## Dependencies
|
|
|
|
|
|
-1. Update [README.md](https://github.com/stride3d/stride/blob/master/README.md) in the Stride repo, Building from source - Prerequisites section, bump .NET version
|
|
|
+Various Stride systems rely on content fetched and processed from either the Stride website or the Stride Docs website. It's crucial to ensure that the following links remain active and accessible. Please refrain from removing or altering these links unless the dependent systems have been updated accordingly to accommodate any changes.
|
|
|
|
|
|
-## Table of Contents
|
|
|
+1. https://doc.stride3d.net/latest/en/index.json
|
|
|
+ - This JSON file is crucial for integrating the Stride Docs search functionality with the Stride Website. It ensures that search results are comprehensive, including relevant information from both the Stride website and Stride Docs.
|
|
|
|
|
|
-- [Understanding the Stride Documentation Generation Pipeline](documentation-generation-pipeline.md)
|
|
|
- - [Introduction](documentation-generation-pipeline.md#introduction)
|
|
|
- - [A Simplified Overview](documentation-generation-pipeline.md#a-simplified-overview)
|
|
|
- - [Docs Build Workflow](documentation-generation-pipeline.md#docs-build-workflow)
|
|
|
- - [Workflow Diagram](documentation-generation-pipeline.md#workflow-diagram)
|
|
|
-- [Installation](installation.md)
|
|
|
- - [Prerequisites](installation.md#prerequisites)
|
|
|
- - [Installation Steps](installation.md#installation-steps)
|
|
|
- - [Running the Development Server](installation.md#running-the-development-server)
|
|
|
-- [Content Updates](content.md#content-updates)
|
|
|
- - [Small Updates](content.md#small-updates)
|
|
|
- - [Major Updates](content.md#major-updates)
|
|
|
- - [Manual](content.md#manual)
|
|
|
- - [Creating New Page](content.md#creating-new-manual-page)
|
|
|
- - [Tutorial](content.md#tutorial)
|
|
|
- - [Creating New Tutorial](content.md#creating-new-tutorial-page)
|
|
|
- - [Shortcodes and Includes](content.md#shortcodes-and-includes)
|
|
|
- - [Alert](content.md#alert)
|
|
|
- - [Video](content.md#video)
|
|
|
- - [Web Assets](content.md#web-assets)
|
|
|
- - [Styling](content.md#styling)
|
|
|
- - [Bootstrap Customization](content.md#bootstrap-customization)
|
|
|
- - [CSS Guidelines](content.md#css-guidelines)
|
|
|
- - [Submitting your Changes](content.md#submitting-your-changes)
|
|
|
-- [New Language](new-language.md)
|
|
|
- - [Adding a New Language](new-language.md#adding-a-new-language)
|
|
|
-- [Roadmap](roadmap.md)
|
|
|
-- [DocFX](docfx.md)
|
|
|
- - [Packages and Dependencies](docfx.md#packages-and-dependencies)
|
|
|
- - [Configuration](docfx.md#configuration)
|
|
|
- - [Global Data](docfx.md#global-data)
|
|
|
- - [Folder Structure](docfx.md#folder-structure)
|
|
|
- - [Layouts](docfx.md#layouts)
|
|
|
- - [Includes](docfx.md#includes)
|
|
|
- - [Advanced Topics](docfx.md#advanced-topics)
|
|
|
- - [Creating Custom Shortcodes and Includes](docfx.md#creating-custom-shortcodes-and-includes)
|
|
|
-- [Deployment](deployment.md)
|
|
|
- - [GitHub Pages](deployment.md#github-pages)
|
|
|
- - [Azure Web Apps](deployment.md#azure-web-apps)
|
|
|
-- [Troubleshooting and FAQ](troubleshooting-and-faq.md)
|
|
|
- - [Known Issues](troubleshooting-and-faq.md#known-issues)
|
|
|
- - [Common Issues and Solutions](troubleshooting-and-faq.md#common-issues-and-solutions)
|
|
|
- - [Frequently Asked Questions](troubleshooting-and-faq.md#frequently-asked-questions)
|
|
|
+1. https://doc.stride3d.net/latest/en/ReleaseNotes/ReleaseNotes.md
|
|
|
+ - The **Stride Launcher** utilizes this file when you click a release notes button.
|