Skip to content

Commit 1f2964d

Browse files
Merge pull request #816 from ossf/tweak-spp
Minor tweaks to SPP documentation
2 parents bcd9a45 + bf96b1c commit 1f2964d

File tree

1 file changed

+23
-12
lines changed

1 file changed

+23
-12
lines changed

docs/spp/Simplest-Possible-Process.md

+23-12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Simplest Possible Process (SPP) for Publishing Documentation
22

3-
*by the [Open Source Security Foundation (OpenSSF)](https://openssf.org), 2023-06-28*
3+
*by the [Open Source Security Foundation (OpenSSF)](https://openssf.org), 2025-03-19*
44

55
This document describes the "Simplest Possible Process" (SPP),
66
a process for publishing nice-looking static results on a website
@@ -18,6 +18,7 @@ and deployed as simple static pages:
1818
the [tips](#tips) below. In particular, please
1919
include a (publication) date in `YYYY-MM-DD` format
2020
in their contents, and *update* that during content changes.
21+
If the document is a draft, *clearly* indicate that.
2122

2223
This document is written primarily for use by
2324
technical contributors to the
@@ -44,6 +45,7 @@ welcome to use this SPP if they determined that it met their needs
4445
[TAC issue 176](https://github.com/ossf/tac/issues/176)).
4546
The OpenSSF staff will implement this for an OpenSSF repository,
4647
but only on request (to avoid unnecessary work).
48+
See the section [One-time setup](#one-time-setup)).
4749

4850
## Tips
4951

@@ -58,11 +60,13 @@ Directory and file names with spaces are supported,
5860
but not recommended, because the
5961
resulting URLs look odd (space becomes `%20`).
6062

63+
In most cases documents should be in markdown format for ease of editing.
6164
All markdown (`.md`) files will be converted into HTML (`.html`) files;
6265
you can omit the trailing `.html` when accessing them using a web browser.
6366

6467
When using markdown:
6568

69+
* If the document is a draft, *clearly* indicate that.
6670
* We recommend including `markdownlint` in your CI/CD, possibly configured
6771
specially, to detect and prevent problems ahead-of-time.
6872
* Try to limit yourself
@@ -137,13 +141,14 @@ Here's how to do that:
137141
Select *Code and automation/Pages*. Under *Build and deployment* select
138142
*Deploy from a branch* using branch `main` and folder `/docs`, then save.
139143
Under *custom domain* enter your custom domain (e.g., `best.openssf.org`)
140-
and select Save; this will create a file name `CNAME` in the root directory.
144+
and select Save; this will create a file named `CNAME` in the root directory.
141145
3. *Configure DNS*. Change the DNS setting for the
142146
(new) domain name (e.g., `best.openssf.org`) so its `CNAME` points
143-
to the *organization* GitHub site (e.g., `ossf.github.io`).
147+
to `ossf.github.io` (the *organization* GitHub site).
144148
Note that *every* repository of an organization uses the same `CNAME`
145-
(GitHub uses the CNAME file in your repository to figure out which
146-
site will be used). OpenSSF members
149+
for this particular setting, and *not* the name of the specific repository.
150+
GitHub instead uses the CNAME file in your repository to figure out
151+
exactly which repository will be used. OpenSSF members
147152
can just email `operations` at `openssf.org`;
148153
Linux Foundation employees can send the request to
149154
[LF support](https://support.linuxfoundation.org) or more specifically
@@ -163,15 +168,17 @@ Here's how to do that:
163168

164169
### Problem
165170

166-
The initial approach we (the OpenSSF) have been
167-
been using for distributing most of our results has many problems.
168-
The initial approach shows readers lots of
171+
Only using the GitHub repository interface for distributing results
172+
many drawbacks.
173+
It shows readers lots of
169174
irrelevant text (the GitHub source repo interface), we cannot control
170175
its formatting, the URLs aren't related to our (`openssf.org`) domain,
171176
most metadata (such as the description) is wrong, and search engines
172177
are likely to give it low scores (because it's "just a random page
173178
on GitHub"). For an example of this "ugly" view, see the
174179
[Guide to implementing a coordinated vulnerability disclosure process for open source projects](https://github.com/ossf/oss-vulnerability-guide/blob/main/maintainer-guide.md)
180+
The GitHub repository interface is *great* when making changes, but not
181+
for sharing final document results.
175182

176183
There are a practically infinite number of ways to publish results
177184
on a website that are better.
@@ -291,8 +298,8 @@ we have adequate solutions:
291298
The "obvious" solution is to have a repo for just the CSS,
292299
and then have all other OpenSSF repos include that CSS.
293300
Then there would be one place to update CSS.
294-
If we have that many repos, we can implement this, and have the
295-
one-time cost of changing each publishing repo to use it.
301+
If we have that many repos, we can implement this, and
302+
change each publishing repo to use it.
296303
2. *Abandoned domain names*. If a repo is deleted,
297304
we also need to delete the repo entry.
298305
Repo deletion is incredibly rare (we've never done it in 3 years),
@@ -319,7 +326,8 @@ we have adequate solutions:
319326
The OpenSSF staff only plans to take the one-time SPP steps
320327
by request, so they will only need to take those steps
321328
if someone plans to use it.
322-
5. *Forge changes*. We have no plans and no reason to stop using GitHub.
329+
5. *Moving to another forge*.
330+
We have no plans and no reason to stop using GitHub.
323331
If we did move, however, the key components that implement this process
324332
(the [Jekyll engine](https://jekyllrb.com/docs/),
325333
the [`kramdown`](https://kramdown.gettalong.org/) markdown processor, and the
@@ -330,12 +338,15 @@ we have adequate solutions:
330338
6. *Publication dates*. As currently implemented the SPP does not
331339
automatically add publication dates. There are Jekyll
332340
plug-ins we could use to create publication dates, but installing them
333-
seems complex and probably not worth it. For now, we ask that
341+
is complex and probably not worth it. For now, we ask that
334342
groups just include the date in the document being published.
335343
While groups could occasionally forget to update them,
336344
this also means that the date will be robustly included in the file itself
337345
once they are updated, and we expect people will easily understand
338346
when they need to update a simple date.
347+
7. *Sharing before official release*. It's important to be able to see
348+
documents while they're being initially developed. Those documents can
349+
be shared this way, and marked as drafts.
339350

340351
## Limitations
341352

0 commit comments

Comments
 (0)