Skip to content

Commit 35e9dec

Browse files
committed
Docs: actualize the contributor guide
1 parent 09484d4 commit 35e9dec

File tree

4 files changed

+18
-10
lines changed

4 files changed

+18
-10
lines changed

.github/workflows/check-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
- uses: actions/setup-dotnet@v4
1818
with:
1919
dotnet-version: 9.x
20-
- run: dotnet fsi check-dead-links.fsx
20+
- run: dotnet fsi scripts/check-dead-links.fsx

CONTRIBUTING.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,37 @@
1-
# Contribution Guidelines
2-
1+
Contribution Guidelines
2+
=======================
33
Please ensure your pull request adheres to the following guidelines:
44

55
* Please search previous suggestions before making a new one, as yours may be a duplicate.
66
* Please make an individual pull request for each suggestion.
7-
* Use the following format: \[RESOURCE\]\(WEB-LINK\) - DESCRIPTION. [LICENCE]
7+
* Use the following format: \[RESOURCE\]\(WEB-LINK\) - DESCRIPTION.
88
* Keep descriptions short and simple.
99
* End all descriptions with a full stop/period.
1010
* Make sure your text editor is set to remove trailing whitespace.
1111
* Order projects alphabetically within each category.
1212
* Check your spelling and grammar.
1313
* New categories, or improvements to the existing categorisation are welcome.
1414

15-
## Pull requests workflow
16-
15+
Pull Requests Workflow
16+
----------------------
1717
Please, submit one pull requests with one link per PR. If you want to add several links, you should create PR for each links, unless all of the proposed projects are belong to the same category. Pull request should have meaningful description what this project do, why do you want to add it to the list and any other info which might be useful. This will help maintainers with the review process.
1818

19-
## Quality standard
20-
19+
Quality standard
20+
----------------
2121
To stay on the list, projects should follow these quality standards:
2222

2323
* Generally useful to the community
2424
* Actively maintained (even if that just means acknowledging open issues when they arise)
2525
* Stable
2626
* Documented
2727
* Tests
28+
* For GitHub repositories, we currently have a soft limit of no less than 50 stars
2829

2930
Thank you for your suggestions!
31+
32+
Scripts
33+
-------
34+
This repository includes a couple of scripts to help with the project maintaining.
35+
36+
- `scripts/update-toc.fsx`: run this one manually when you need to rebuild the table of contents.
37+
- `scripts/check-dead-links.fsx`: this script runs on CI to ensure we have no dead links in our list.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ let isNonLocalLink(link: string) =
7272
eprintfn $"Error during parsing link {link}: {error.Message}"
7373
reraise()
7474

75-
let readmeFilePath = Path.Combine(__SOURCE_DIRECTORY__, "README.md")
75+
let readmeFilePath = Path.Combine(__SOURCE_DIRECTORY__, "../README.md")
7676

7777
let markdown = File.ReadAllText(readmeFilePath)
7878
let document = Markdown.Parse(markdown, trackTrivia = true)

update-toc.fsx renamed to scripts/update-toc.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ open System.IO
66
open Markdig.Renderers.Roundtrip
77
open Markdig.Syntax
88

9-
let readmeFilePath = Path.Combine(__SOURCE_DIRECTORY__, "README.md")
9+
let readmeFilePath = Path.Combine(__SOURCE_DIRECTORY__, "../README.md")
1010

1111
let markdown = File.ReadAllText(readmeFilePath)
1212
let document = Markdown.Parse(markdown, trackTrivia = true)

0 commit comments

Comments
 (0)