-
Notifications
You must be signed in to change notification settings - Fork 22
New text on Markdown in 02-make-it-public.md #104
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
allegravia
wants to merge
6
commits into
SoftDev4Research:gh-pages
Choose a base branch
from
allegravia:gh-pages
base: gh-pages
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
6 commits
Select commit
Hold shift + click to select a range
19f807a
Update 02-make-it-public.md markdown
allegravia 3458d05
Update 02-make-it-public.md more on Markdown
allegravia bb3f2eb
Update 02-make-it-public.md
allegravia d165551
Update 02-make-it-public.md health files
allegravia 7038c68
Update 02-make-it-public.md
allegravia 7bc83e3
02-make-it-public.md improved challenge .cff
allegravia 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 | ||||
|---|---|---|---|---|---|---|
|
|
@@ -58,21 +58,46 @@ on this topic, and other advice on starting an open source project, check out th | |||||
| - This file is automatically displayed on the front page of your repository | ||||||
| - It has important information about your project | ||||||
|
|
||||||
| To format the contents of this file you will use Markdown syntax. If you want to know more about it you can use this [cheatsheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) or this [short guide](https://guides.github.com/features/mastering-markdown/) | ||||||
|
|
||||||
|
|
||||||
| The '.md' extension indicates that the file is written in Markdown language, which uses plain text formatting syntax that can be converted into web output format. Markdown syntax is basically plain text with a few non-alphabetic characters such as * or # for bold, italics, headings, etc. to style test. For example, you can make some text bold by adding two asterisks \** before and after the text: | ||||||
|
|
||||||
| ``` | ||||||
| **This text is bold** | ||||||
| ``` | ||||||
| will appear as: | ||||||
|
|
||||||
| **This text is bold** | ||||||
|
|
||||||
| It is also possible to create lists, insert images, tables, web links and more. | ||||||
|
|
||||||
| We will see now some basic writing and formatting syntax by following this [short guide](https://guides.github.com/features/mastering-markdown/). This [cheatsheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) also provides useful guidance. | ||||||
|
|
||||||
| > ## Challenge: Improve the README | ||||||
| > | ||||||
| > The README.md file that GitHub generated when we created the project is quite | ||||||
| > boring. Add some more content using some of the Markdown syntax introduced | ||||||
| > above. You could add a few sentences about the purpose of your software, some | ||||||
| > above (if you don't remember a Markdown command you can refer to the | ||||||
| > [cheatsheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) mentioned above). | ||||||
| > You could add a few sentences about the purpose of your software, some | ||||||
| > details of the author(s) and their affiliation(s), or anything else that you | ||||||
| > think is important. | ||||||
|
|
||||||
| {: .challenge} | ||||||
|
|
||||||
| In addition to the README.md file, a good software project should include other "recommended community health files". What other files should you include in your project? You may find insights on health files to include in your project (to ensure that it meets the recommended community standards) in the Community Profile of the public repository hosting your project. Indeed, a public repository Community Profile provides rules and best practices on how to help grow a community and support contributors in using and contributing to your project. If your project is hosted on GitHub, you may refer to the [GitHub Community Profile](https://github.com/SoftDev4Research/4OSS-lesson/community), which can be accessed following [these instructions](https://help.github.com/en/articles/accessing-a-projects-community-profile) and where you can find a checklist that can be used to see if your project includes community health files recommended by GitHub. | ||||||
allegravia marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
| These include a project DESCRIPTION file, a README file and a CODE_OF_CONDUCT, which contains standards on how to engage in the community. Furthermore, a project should have a CONTRIBUTING file (for details see episode on "Define clear and transparent contribution, governance and communication processes") outlining guidance for contributing to the project, and a LICENCE file that states how the code can be used. You should have a good idea of what is the appropriate license for your project after the [next episode](https://softdev4research.github.io/4OSS-lesson/03-use-license/index.html). Templates for GitHub issues and pull requests are also required for a complete community profile (see the [Software Carpentry lesson on Version Control with Git](http://swcarpentry.github.io/git-novice/) to learn about GitHub issues and pull requests). | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| You might also want to add details of how to correctly cite the software after publication. This can be done by adding a file called CITATION.cff in the root of your repository (where other health files are stored). The .cff (Citation File Format) is a machine-readble and human-readble and -writable format providing citation information for research software. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| You may also add a `paper.md` file if the software is published via the Journal of Open Source Software (JOSS). | ||||||
| Notice that you, as a research/scientific software developer, need recognition for software you develop and this will not happen if there is no way to cite your software. | ||||||
|
|
||||||
| > ## Challenge: Add a CITATION.cff file to your repository | ||||||
| > You can use the example provided [here](https://citation-file-format.github.io) to create a CITATION.cff | ||||||
| > file for your software and add it to your repository. It is not relevant to use real information for this exercise. | ||||||
| > It is important that you see how to write a .cff file and to include it in your repository. | ||||||
|
|
||||||
| {: .challenge} | ||||||
|
|
||||||
| - In addition to the README & LICENSE (.md) files, a good software project might include guidance for contributing to the project (CONTRIBUTING.md - see lesson on contributions, governance, and communication), details of how to correctly cite the software after publication (CITATION.md - see later in this lesson), or even a `paper.md` file if the software is published via the Journal of Open Source Software (JOSS) | ||||||
| - You should have a good idea of what is the appropriate license for your project after the [next lesson](https://softdev4research.github.io/4OSS-lesson/03-use-license/index.html) but, if you need help choosing an license, you can also click on the "info" button next to the "add a license" dropdown, which will take you to https://choosealicense.com/ | ||||||
| - Making the project public at the start is not enough! See the [Software Carpentry lesson on Version Control with Git](http://swcarpentry.github.io/git-novice/) for advice on best practice in software version control. | ||||||
| You will find more about how to publish your software later in this episode. Other health files will be described in detail in relevant sections. | ||||||
|
|
||||||
| > ## Discussion: How does version control help your project? | ||||||
| > #### 5 minutes | ||||||
|
|
||||||
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.