-
Notifications
You must be signed in to change notification settings - Fork 2
Add search bar and minor github/contributing improvements #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
YodaForce157
wants to merge
10
commits into
Railroad-Team:main
Choose a base branch
from
YodaForce157:minor-tweaks
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
b668bdc
Fix minor theming issues, and add search bar
YodaForce157 7c921dd
Create CONTRIBUTING.md and README.md
YodaForce157 6f04b92
Merge branch 'main' of https://github.com/Railroad-Team/RailroadDocs …
YodaForce157 6ce457a
Merge branch 'main' into minor-tweaks
YodaForce157 74f550a
[ci skip] Add vitepress prettier plugin, and add badges to readme
YodaForce157 b6f5ee3
Merge branch 'minor-tweaks' of https://github.com/YodaForce157/Railro…
YodaForce157 4e5d3ca
Clean up existing files, and update readme and contributing
YodaForce157 d891a81
Add support 'feature' to getting started page
YodaForce157 e0a4825
[ci skip] Add theme info to readme
YodaForce157 e44e90f
Remove extra 'with'
YodaForce157 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| { | ||
| "MD024": false, | ||
| "MD013": false | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| { | ||
| "tabWidth": 2, | ||
| "useTabs": false, | ||
| "singleQuote": false, | ||
| "plugins": ["prettier-plugin-vitepress"], | ||
| "overrides": [ | ||
| { | ||
| "files": [".*md"], | ||
| "options": { | ||
| "parser": "markdown" | ||
| } | ||
| } | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| # Contributing to RailroadDocs | ||
|
|
||
| By contributing code to the RailroadDocs repository, you: | ||
|
|
||
| - Own all the rights to the code in your pull request | ||
| - Consent to the publishing of your code publicly | ||
|
|
||
| ## How to start contributing | ||
|
|
||
| ### Use a personal fork, not an Organization | ||
|
|
||
| We may modify your pull request for you, rather than requesting you to make the changes yourself, for efficiency purposes. However, if your fork is hosted on an Organization, we cannot make such changes, so we request that you use a personal fork in your pull requests. | ||
|
|
||
| ### Requirements | ||
|
|
||
| To start adding your content to RailroadDocs, you will need the following software: | ||
|
|
||
| - A nodejs version manager | ||
| - NPM | ||
|
|
||
| Once you have those installed, install the required dependencies with `npm i`, then you may run the dev server by executing: `npm run dev` in the root of the project. | ||
| You will then be given a url to follow to view your locally hosted instance of RailroadDocs. | ||
|
|
||
| ### Pull Request Requirements | ||
|
|
||
| We don't want to waste your or our time on pull requests that just can't be justified. Hence these guidelines each and every pull request must adhere to. | ||
|
|
||
| - You must be able to justify the pull request. | ||
|
|
||
| It must fulfill at least one of these requirements: | ||
| - Add undocumented feature(s) to the site, to aid developers who may want to learn about such feature(s). | ||
| - Fix errors or mistakes in existing files. | ||
| - Clarify or rewrite existing documents to provide an easier and clearer experience for any readers. | ||
| - Improve the experience of any reader. | ||
| - All additions must be written in English, alongside any other language you can provide accurate translations for. | ||
| - All modified files must adhere to our Formatting Guide. | ||
| - All content must be PG. | ||
| - Any and all content, including translations, must be created by a human. | ||
| - At the point of review, the pull request must be up to date with the latest version of the base branch. | ||
|
|
||
| ### Formatting Guidelines | ||
|
|
||
| We want to make sure that all content added is of a same standard to any other piece, so please keep these guidelines in mind at all times. | ||
| We suggest installing the markdownlint plugin, as it comes with a good set of guidelines for formatting markdown files. | ||
|
|
||
| - Headers must be used in ascending order. | ||
| - All sentences must end in a full stop. | ||
| - Any references to class names or methods must be surrounded using "`". | ||
| - All code snippets must be in code blocks, which are created using "\`\`\`java --code here --\`\`\`" | ||
| - Any API feature page must have an accurate and descriptive example |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # Railroad Docs | ||
|
|
||
|  | ||
|  | ||
|
|
||
| This is the repository that hosts the source code for the <https://railroadide.dev/> website. | ||
|
|
||
| ## Theming | ||
|
|
||
| The website uses the [Catppuccin Mocha Sapphire](https://github.com/catppuccin/vitepress) theme, with some additional custom css. | ||
|
|
||
| If you want to contribute, please read our [Contributing Guide](CONTRIBUTING.md). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -98,4 +98,4 @@ public class MyVCSPlugin implements Plugin { | |
| // Clean up resources if necessary | ||
| } | ||
| } | ||
| ``` | ||
| ``` | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,4 +50,4 @@ card.setInteractive(true); | |
| card.setOnMouseClicked(event -> { | ||
| System.out.println("Card clicked!"); | ||
| }); | ||
| ``` | ||
| ``` | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.