Skip to content

Commit 3c2a61f

Browse files
committed
Add contribute-to-documentation info to README #122
Reference: #122 Signed-off-by: johnmhoran <johnmhoran@gmail.com>
1 parent 4a64fd3 commit 3c2a61f

File tree

3 files changed

+89
-2
lines changed

3 files changed

+89
-2
lines changed

README.md

Lines changed: 87 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# www.aboutcode.org
2-
This repository for the AboutCode public website. It is based on Docusaurus.
2+
3+
## Overview
4+
This is the repository for the AboutCode public website. It is based on Docusaurus.
35
This website is currently in Alpha-pilot state with a primary focus on content over format.
46
- Please do not submit pull requests unless you find an issue labelled as "good first issue".
57
- If you do submit a pull request:
@@ -8,3 +10,87 @@ This website is currently in Alpha-pilot state with a primary focus on content o
810
- Do not add new dependencies with your PR.
911

1012
The current draft website is available at: https://aboutcode-org.github.io/www.aboutcode.org/.
13+
14+
## Simplified website structure
15+
16+
![www.aboutcode.org navbar](./website/static/img/www-aboutcode-org-navbar-2026-02-05.png)
17+
18+
Looking at the links in the website's navbar (defined in `../website/docusaurus.config.js`) ^:
19+
20+
- **AboutCode logo**
21+
- **link**: website landing page
22+
- **edit**: submit an issue
23+
- **structure**: website landing page is defined with a series of nested index.js, .css and other files, e.g.:
24+
- *primary index.js*: `../website/src/pages/index.js`
25+
- *HomepageHeader*: `../website/src/components/HomepageHeader/index.js`
26+
- *HomepageContent*: `../website/src/components/HomepageContent/index.js`
27+
- *HomeIntro*: `../website/src/components/HomepageContent/HomeIntro.mdx`
28+
- *ProjectOverview*: `../website/src/components/HomepageContent/ProjectOverview.md`
29+
- *ProjectGridTemplate*: `../website/src/components/ProjectGridTemplate/index.js`
30+
- *Application projects*: `../website/src/data/projects-application.json`
31+
- *ScanCode projects*: `../website/src/data/projects-scancode.json`
32+
- *Package-URL projects*: `../website/src/data/projects-package-url.json`
33+
- *Inspectors*: `../website/src/data/projects-inspectors.json`
34+
- *Libraries*: `../website/src/data/projects-libraries.json`
35+
- *Supporters*: `../website/src/components/HomepageContent/Supporters.md`
36+
37+
38+
- **Home**
39+
- same as **AboutCode logo** above
40+
41+
- **Getting Started**
42+
- **link**: a group of .md pages organized around a sidebar nav
43+
- **edit**: each .md has an `Edit this page` link in the lower-left corner of the page
44+
- **structure**:
45+
- *Getting started*: `../website/docs/getting_started/getting_started-compliance.md`
46+
- `../website/docs/getting_started/getting_started-getting-started.md`
47+
- *Software identification*: `../website/docs/getting_started/getting_started-software-identification.md`
48+
- *Security*: `../website/docs/getting_started/getting_started-security.md`
49+
- *Compliance*: `../website/docs/getting_started/getting_started-compliance.md`
50+
- *CRAVEX*: `../website/docs/getting_started/getting_started-cravex.md`
51+
52+
- **About**
53+
- **link**: a group of .md pages organized around a sidebar nav
54+
- **edit**: each .md has an `Edit this page` link in the lower-left corner of the page
55+
- **structure**:
56+
- *Contribute*: `../website/docs/about/about-contribute.md`
57+
- *Events*: `../website/docs/about/about-events.md`
58+
- *Meetings*: `../website/docs/about/about-meetings.md`
59+
- *News*: `../website/docs/about/about-news.md`
60+
- *Releases*: `../website/docs/about/about-releases.md`
61+
62+
- **Blog**
63+
- **link**: a group of .md pages organized around an auto-generated blog sidebar nav
64+
- **edit**: each post now has an `Edit this page` link in the lower-left corner of the page
65+
- **structure** (excerpt):
66+
```
67+
../website/blog
68+
├── atom-chen-aboutcode
69+
│   ├── 2025-02-04-atom-chen-aboutcode.md
70+
│   └── atom_grey-1024x683.png
71+
├── copyleft-licensed-software-java-app
72+
│   ├── 2021-01-31-copyleft-licensed-software-java-app.md
73+
│   └── java_copyleft_license.png
74+
├── curated-licenses-public-database-scancode-licensedb
75+
│   ├── 2026-01-29-scancode-licensedb.md
76+
│   ├── ScanCode-LicenseDB-1536x1085.png
77+
│   ├── ScanCode-LicenseDB-2026-01.png
78+
│   └── scancode-db-blog.png
79+
├── non-vulnerable-dependency-resolution
80+
. . .
81+
├── authors.yml
82+
├── tags.yml
83+
```
84+
85+
- **GitHub**
86+
- **link**: https://github.com/aboutcode-org/www.aboutcode.org
87+
- **edit**: submit an issue
88+
- **structure**: a link in `../website/docusaurus.config.js`
89+
90+
- **Slack**
91+
- **link**: https://aboutcode-org.slack.com/join/shared_invite/zt-1paqwxccw-IuafuiAvYJFkTqGaZsC1og#/shared-invite/email
92+
- **edit**: submit an issue
93+
- **structure**: a link in `../website/docusaurus.config.js`
94+
95+
- **light/dark toggle**
96+
- provided by default in `classic` theme

website/docusaurus.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ const config = {
7777
blogSidebarTitle: 'All posts',
7878
blogSidebarCount: 'ALL',
7979
blogTitle: 'AboutCode blog!',
80+
editUrl: 'https://github.com/aboutcode-org/www.aboutcode.org/tree/main/website/',
8081
},
8182

8283
theme: {
@@ -116,7 +117,7 @@ const config = {
116117
},
117118
{ to: '/blog', label: 'Blog', position: 'left' },
118119
{
119-
href: 'https://github.com/aboutcode-org',
120+
href: 'https://github.com/aboutcode-org/www.aboutcode.org',
120121
label: 'GitHub',
121122
position: 'right',
122123
},
13.8 KB
Loading

0 commit comments

Comments
 (0)