Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Oct 11, 2019. It is now read-only.

Commit d50ea66

Browse filesBrowse files
Merge pull request #4 from GSA/Configure
Added Configure section
2 parents b6057dc + a187c65 commit d50ea66
Copy full SHA for d50ea66

File tree

Expand file treeCollapse file tree

3 files changed

+72
-3
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+72
-3
lines changed

‎_includes/nav.html

Copy file name to clipboard
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
<h1 class="page-title"><a href="/index.html">Code.gov API</a></h1>
2-
<p class="intro">Build your own tools using our API to access Code.gov data.</p>
1+
<h1 class="page-title"><a href="/index.html">Code.gov Tech</a></h1>
2+
<p class="intro">Build your own tools using our API to access Code.gov data. Configure your own version of code.gov.</p>
33
<nav>
44
<ul>
55
<li><a href="/index.html" class="overview">Overview</a></li>
66
<li><a href="/basics.html" class="basics">API Basics</a></li>
77
<li><a href="/fields.html" class="fields">Routes and Field Reference</a></li>
88
<li><a href="/key.html" class="fields">API Key</a></li>
9+
<li><a href="/configure.html" class="fields">Configure Front-End</a></li>
910
<li><a href="https://github.com/GSA/code-gov-api/issues" target="_blank" class="fields">Feedback</a></li>
1011
</ul>
1112
</nav>

‎configure.md

Copy file name to clipboard
+66Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
---
2+
layout: default
3+
title: Configure
4+
nav: configure
5+
---
6+
7+
8+
# Configuration of code-gov-web
9+
code-gov-web is configurable. You can customize the styling, content and much more. This document is a work in progress and we will continue to add to it.
10+
11+
# Domain
12+
If you want to host code-gov-web on your own domain, you'll have to change these files:
13+
- code-gov-web/config/CNAME
14+
15+
# [title](https://github.com/GSA/code-gov-web/blob/master/config/code-gov-config.json#L2)
16+
To change the title of the website change the `title` property in `code-gov-web/config/code-gov-config.json`
17+
18+
# [twitter handle](https://github.com/GSA/code-gov-web/blob/master/config/code-gov-config.json#L9)
19+
You can add the handle for your twitter account. This is used to generate the link for the Twitter icon in the top right of each page. Update the handle property in `code-gov-web/config/code-gov-config.json`
20+
21+
# [homepage](https://github.com/GSA/code-gov-web/blob/master/config/code-gov-config.json#L12)
22+
You can configure everything on the home page.
23+
24+
### [banner](https://github.com/GSA/code-gov-web/blob/master/config/code-gov-config.json#L13)
25+
You can configure the content inside of the banner area. You change the motto `Sharing America's Code` to whatever you want. You can also change the subtitle, `Unlock the tremendous...`, and description of the help wanted tasks, `Discover how you can...`
26+
27+
# [roadmap](https://github.com/GSA/code-gov-web/blob/master/config/code-gov-config.json#L108)
28+
The roadmap section is fully configurable. You can see a live example of what the roadmap looks like here: https://code.gov/#/roadmap
29+
30+
### [overview](https://github.com/GSA/code-gov-web/blob/master/config/code-gov-config.json#L109)
31+
You can configure the text that appears under [overview](https://github.com/GSA/code-gov-web/blob/master/config/code-gov-config.json#L109). This is represented as an array of paragraph HTML text.
32+
```
33+
"overview": [
34+
"At Code.gov, we know it’s important to keep an open dialogue with our users. That’s why we’re sharing our plans for the future through this Development Roadmap. Hopefully, it will help you better understand our priorities for the platform.",
35+
"The Development Roadmap is organized into three categories – Near-term, Mid-term, and Long-term. Priorities are sorted into roadmap categories based on feedback we receive during user interviews. Dependencies and resources are also factors that affect placement on the roadmap. If you want to join the Code.gov user testing group, please email us at <a href='mailto:code@gsa.gov'>Code@gsa.gov</a>."
36+
],
37+
```
38+
### [near-, mid-, and long-term tasks]((https://github.com/GSA/code-gov-web/blob/master/config/code-gov-config.json#L113) )
39+
You can configure your [tasks](https://github.com/GSA/code-gov-web/blob/master/config/code-gov-config.json#L113) for different time durations. They are represented as an array of task objects with each task object including two properties, `name` and `status`. The status can be of three options: `Released`, `In Progress`, or `null`. Here's an example of configuring the mid-term tasks:
40+
```
41+
"mid": [
42+
{ "name": "Agency pages", "status": null },
43+
{ "name": "Medium skin", "status": null },
44+
{ "name": "FAQs page", "status": "In Progress" },
45+
{ "name": "Admin tool", "status": null },
46+
{ "name": "Enhanced tools and resources", "status": null },
47+
{ "name": "Project Details Phase II", "status": null}
48+
],
49+
```
50+
51+
### [disclaimer](https://github.com/GSA/code-gov-web/blob/master/config/code-gov-config.json#L134)
52+
You can also add a [disclaimer](https://github.com/GSA/code-gov-web/blob/master/config/code-gov-config.json#L134) that says you can't guarantee that features are rolled out according to the roadmap
53+
```
54+
"disclaimer": "This Development Roadmap (Roadmap) is for informational purposes only. The Code.gov team will update the Roadmap as frequently as possible but, given that it’s subject to change at any time, the information presented by the Roadmap should not be used for planning purposes. The information presented in the Roadmap does not represent a solicitation or similar contract vehicle. All items in the Roadmap will be developed and released at the sole discretion of Code.gov, the General Services Agency, the Office of Management and Budget, and the United States Federal Government."
55+
```
56+
57+
58+
# more soon
59+
There's many other ways to customize code-gov-web. More documentation coming soon!
60+
61+
# contact
62+
If you have any questions, you can post an issue on GitHub or email us at code@gsa.gov
63+
64+
65+
---
66+
Note: cross posted from [https://github.com/GSA/code-gov-web/blob/master/CONFIGURATION.md](https://github.com/GSA/code-gov-web/blob/master/CONFIGURATION.md)

‎index.md

Copy file name to clipboardExpand all lines: index.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ Born from the [Federal Source Code Policy](https://code.gov/#/policy-guide/docs/
1010

1111
The Code.gov API is a public GET API. Data from the API will be delivered in JSON format. All of our data is provided to us by our partner agencies and is fully available to the public.
1212

13+
The Code.gov front-end is found in the [code-gov-web repository](https://github.com/GSA/code-gov-web). This Angular app is modular, configurable and customizable.
14+
1315
#### Get started
1416

1517
We have organized this site into four major areas:
1618

1719
- [API basics](/basics.html) introduces you to the operations offered by the API.
1820
- [Route & Field reference](/fields.html) lists and describes the type of information provided by the API.
1921
- [API Key](/key.html) will be provided by api.data.gov for more personal access of API data.
22+
- [Configure](/configure.html) describes how to configure and customize the front-end.
2023
- [Feedback](https://github.com/GSA/code-gov-api/issues) provides a forum for developers to share feedback and report problems.
21-

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.