Skip to content

docs: restructure README around Diátaxis modes#7

Open
trevormunoz wants to merge 1 commit into
umd-lib:mainfrom
trevormunoz:docs/restructure-readme
Open

docs: restructure README around Diátaxis modes#7
trevormunoz wants to merge 1 commit into
umd-lib:mainfrom
trevormunoz:docs/restructure-readme

Conversation

@trevormunoz

Copy link
Copy Markdown

What

Good news. The first-run setup basically "just works". This PR is mostly suggestions to make it a bit friendlier.

Why

The README's setup steps only tell you to install task, but task serve
shells out to hugo server, so if you don't already have hugo you hit
hugo: command not found. The README also could point to other docs that are
already present to offer some more orientation for the first-time reader.

Changes

  • About — one short section on what the repo is, who it's for, and the
    live site (https://opendata.lib.umd.edu/).
  • Prerequisites — now lists Hugo (extended edition, required by the
    Hextra theme) alongside go-task. This is the fix for the missing-Hugo
    failure above.
  • Getting started — corrected, runnable steps (task serve
    http://localhost:1314/), plus task build / task clean.
  • Homebrew formulabrew install taskbrew install hugo go-task.
  • Python code examples — reframed as the data/API-user path, linking the
    scripts and TEST_PYTHON_EXAMPLES.md.
  • Project structure — a short orientation table.
  • Contributing / License — markdownlint conventions and Apache-2.0.

Verification

  • npx markdownlint-cli README.md passes clean.
  • All internal links resolve to real files.
  • The getting-started commands were run against a fresh tool install
    (Hugo 0.164.0 extended, go-task 3.52.0): 41 pages built, site served and
    returned HTTP 200 at localhost:1314.

Reorganize the README so its modes stay unmixed and the getting-started
path actually works end to end:

* Add an About section (what the repo is, who it's for, the live site).
* Add a Prerequisites section that lists Hugo (extended) and go-task —
  the previous README omitted Hugo, so a fresh clone running 'task serve'
  hit 'hugo: command not found'.
* Correct the Homebrew formula (task -> go-task) and combine installs.
* Frame the Python setup as the data/API-user path and link the code
  examples and TEST_PYTHON_EXAMPLES.md.
* Add a thin project-structure table.
* Add Contributing (markdownlint conventions) and License (Apache-2.0)
  sections.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant