layout | title | permalink |
---|---|---|
default |
Contributor's Template for Writing a FICAM Guide |
/template2/ |
8/14/2017
Thank you for your interest in writing a FICAM Guide! We welcome your contributions.
This Contributor's Template for Writing a FICAM Guide gives guidance and a template to help you get started with your new guide.
{% include alert-info.html heading = "Before starting a new FICAM guide, please review the Contributing page!" content="The Contributing page provides terms and conditions and other instructions." %}
Propose a topic by opening an Issue{:target="blank"}
If you don't have a topic, a good place to start is the open Issues lists.
- PIV Guides Issues{:target="blank"}
- Federal PKI Guides Issues{:target="blank"}
- FICAM Architecture Issues{:target="blank"}
Using GitHub as a first time user can be overwhelming. An introduction video is available from DigitalGov on YouTube: Introduction to GitHub{:target="blank"}.
You can create a GitHub account by browsing to: Join GitHub. For more help, contact GSA GitHub Support at: [email protected].
- GitHub allows you to remain pseudonymous. You can select the options that suit you on the Profile and Emails pages of your Personal Settings in your GitHub account.
- We also highly encourage you to turn on two-factor authentication in the Security page (also part of Personal Settings).
Once you have a GitHub account, you can create a personal copy (called a "fork") to work on in your GitHub profile. It's simple:
- In the upper right-hand corner, click on the Fork button.
A version controlled copy will now be in your GitHub profile.
For more help with forking a repo, go to Fork a Repo{:target="blank"}
To create a new branch to store your guide:
- In the top right-hand corner of the repository window, click on the down-arrow next to your profile icon/picture. Select Your profile.
- Click on the repository that you forked.
- Above the listing of folders and files in the repository, look for the Branch button. Click on the down-arrow and select the Staging branch.
- Click on the Branch button again and enter a new branch name into the text field (e.g., [Guide Name] Branch).
- Click on the blue button that now displays your new branch name. (The gray Branch button now also displays your branch name.)
{% include alert-warning.html heading = "The Staging branch is the master for each FICAM guides repository. It is important that you always start with the Staging branch in your forked repository when you create a new branch. Starting at Staging helps keep your files sychronized with GSA's repository." %}
To create a new Page where you can write your guide:
- Check the gray Branch button to ensure that the new branch name is displayed. If it isn't, select it from the Branch drop-down list.
- Click on the Create New File button located above the top right-hand area of your repository's window (above the folders and files listing).
At the top left-hand area of the Page window, the branch name now appears with a "/" after it and a text box.
- In the text box, enter your new Page's name with the extension, .md, for Markdown (e.g., Mynewfile.md).
- Go to the bottom of your Page. Below the Commit new file comment box, click on the green Commit new file button to save your new Page.
Markdown is a simple way of writing and formatting. The formats can be used across many different platforms including for websites and documents. We created a sample template to help you with your page. The basic markdown syntax is embedded in the template.
If you want to learn more about markdown formatting: Mastering Markdown{:target="blank"}.
Use these steps to copy and paste the Template below into your GitHub markdown file to start your guide:
- Go to the section below called Template with Markdown Syntax. Copy the entire Template (headings, text, and samples) up to Template Ends Here.
- Now, go to your new GitHub Page and click on the pencil symbol (top right-hand side of window). The pencil opens Markdown's writing and editing mode.
- Next, click on Line 1 of your Page (top left-hand corner) and paste in the copied Template.
- Scroll down to the bottom of your Page window. Click on the green Commit changes button to save the Template to your Page.
Here are some general writing and formatting tips for writing your guide:
- All pages should be brief.
- Use titles to help the user identify jumping off points for information.
- Paragraphs should be short.
- All text should be written in plain language and in a user-friendly active voice as much as possible.
- Use numbered steps, bullet lists, and graphics.
The following sources can provide additional help with plain language, writing, and style:
- 18F Content Guide{:target="_blank"}
- Federal Plain Language Guidelines{:target="_blank"}
The navigation block is used for website navigation when your guide is posted. Update the Title of the Page and the /template/
To begin your guide, briefly state its purpose in one to two sentences. You may include information on the intended audience, the intended outcome of the guide, and any other information that would help the user to understand the guide.
Add a table of contents link for each section. For example:
We propose these sections for most guides:
This section should tell the user what to prepare before starting a set of procedures. Explain any assumptions as bulleted lists. Clearly state the hardware and software requirements.
This section should tell the user how to achieve the goal. Explain all steps simply and don't try to recreate other resources that are easily found. Focus on the government and what can be unique when implementing or executing.
This section should tell the user how to achieve the goal. Explain all steps simply and don't try to recreate other resources that are easily found. Focus on the government and what can be unique when implementing or executing.
- Step 1 of procedure. (Indent 2 spaces, enter a number, and add 1 space.)
- Step 2 of procedure.
- Bullet 1 (Indent 2 spaces, enter an asterisk, and add 1 space.)
- Bullet 2
- Use double asterisks to bold a word: bold.
- Use underscores to create italics: italics.
To create a code block, use spaces, backticks (```), and Returns in this order:
- 4 spaces plus 3 backticks (```) to start the code block
- A Return
- Type or paste in the code that the user needs to enter for a specific step
- Another Return
- 4 spaces plus 3 backticks to end the code block
- Another Return
For example:
Text within three backticks for code or command line samples
Code comments will be invisible in a webpage view, but others will be able to see the comment in GitHub Markdown.
To insert an image into your Page, upload the image file to the /img/ folder in the GitHub repository. Then at the image insertion point in your page, add these formats to link to the image.
{:style="float:left;width:25%;"}
To link to useful references, information, or another page within GSA's IDManagement.gov website, use:
This is what I want my link to say
Link to an document so that it opens a new window:
This is what I want my link to say{:target="blank"}