Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 1
Create the Python Docs Editorial Board static site using Hugo#13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
6b24e3dcc15aee297a167d3b266c028290ab4cd784File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -12,7 +12,7 @@ We have a "changelog" of decisions: [CHANGELOG.md](CHANGELOG.md). | ||
| These updates provide high level information about the Editorial Board's activities: | ||
| - [2024-01](updates/2024-01-08-editorial-board-update.md) | ||
| - [2024-01](content/updates/2024-01-08-editorial-board-update.md) | ||
| ## Process | ||
| @@ -34,3 +34,45 @@ These links give context on existing documentation landing pages: | ||
| - [CPython Documentation Landing page (docs.python.org)](https://docs.python.org) | ||
| - [PSF (python.org) website landing page](https://python.org) | ||
| - [Documentation Experience presentation - Review navigation of PSF website related to docs](https://docs.google.com/presentation/d/1ujDv8wViPvAMFAtYCRxSKh-CMUlbjcfVYitsqEI2Ios) | ||
| ## Writing new content | ||
| Hugo is not needed to be installed in order to write a new meeting minutes. | ||
| Write the meeting minutes a markdown file under ``content/updates/*.md``, commit, and | ||
Mariatta marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| create the pull request. A preview will then be generated on Netlify. | ||
| The meeting minutes should be written using template provided in [archetypes/updates.md](/archetypes/updates.md). | ||
Mariatta marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| If you have Hugo installed, a new meeting minutes file can be created by typing on the command line: | ||
Mariatta marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| ``` | ||
| hugo new content content/updates/newupdate.md | ||
| ``` | ||
| This will create the file under ``content/updates/newupdate.md``, and you can continue editing it. | ||
| (replace "newupdate.md" with the desired filename.) | ||
| ## Building the static site locally | ||
| 1. First install Hugo. | ||
| 2. Run the command at the root of the repository: | ||
| ``` | ||
| hugo server | ||
| ``` | ||
| ## Writing new changelog | ||
| Use the template in [archetypes/changelog.md](archetypes/changelog.md). | ||
| The file can also be created using the command: | ||
| ``` | ||
| hugo new content content/changelog/newchangelog.md | ||
| ``` | ||
| It will create a new file under ``content/changelog/newchangelog.md``. (Replace "newchangelog.md" with the desired filename). | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| --- | ||
| author: [""] | ||
| title: "Changelog: {{ .Date | dateFormat "Jan 2, 2006" }}" | ||
| date: "{{ .Date }}" | ||
| tags: ["changelog"] | ||
| categories: ["changelog"] | ||
| series: ["Changelog"] | ||
| ShowToc: false | ||
| TocOpen: false | ||
| --- |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| title: "" | ||
| date: "{{ .Date }}" | ||
| --- | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| --- | ||
| author: [""] | ||
| title: "Meeting Minutes: {{ .Date | dateFormat "Jan 2, 2006" }}" | ||
| date: "{{ .Date }}" | ||
| description: "Meeting Minutes from Python Docs Editorial Board: {{ .Date | dateFormat "Jan 2, 2006" }}" | ||
| summary: "Meeting Minutes from Python Docs Editorial Board: {{ .Date | dateFormat "Jan 2, 2006" }}" | ||
| tags: ["minutes"] | ||
| categories: ["minutes"] | ||
| series: ["Meeting Minutes"] | ||
| ShowToc: false | ||
| TocOpen: false | ||
| --- | ||
| ### Attendees | ||
| ### Agenda | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| .entry-content{ | ||
| a{ | ||
| text-decoration: underline; | ||
| } | ||
| } | ||
| #menu a{ | ||
| :not(.active) { | ||
| text-decoration: underline; | ||
| } | ||
| } | ||
| .entry-header { | ||
| text-decoration: underline; | ||
| } | ||
| .archive-entry h3{ | ||
| text-decoration: underline; | ||
| } | ||
| .breadcrumbs a:hover{ | ||
| text-decoration: underline; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| title: "Archive" | ||
| layout: "archives" | ||
| url: "/archives" | ||
| summary: "archives" | ||
| --- |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| --- | ||
| author: ["Ned Batchelder"] | ||
| title: "Changelog: July 12, 2024" | ||
| date: "2024-07-12" | ||
| tags: ["changelog"] | ||
| categories: ["changelog"] | ||
| series: ["Changelog"] | ||
| ShowToc: false | ||
| TocOpen: false | ||
| --- | ||
| Function signatures should include slash and star: https://github.com/python/devguide/pull/1344 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| --- | ||
| author: ["Ned Batchelder"] | ||
| title: "Changelog: July 18, 2024" | ||
| date: "2024-07-18" | ||
| tags: ["changelog"] | ||
| categories: ["changelog"] | ||
| series: ["Changelog"] | ||
| ShowToc: false | ||
| TocOpen: false | ||
| --- | ||
| Clarify `timezone` vs "time zone": https://github.com/python/devguide/pull/1352 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| title: "Editorial Board Decisions" | ||
| --- | ||
| Editorial Board Decisions | ||
| This is a running log of decisions taken by the Editorial Board. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| title: "Search" | ||
| placeholder: Search demo site with full text fuzzy search ... | ||
| layout: "search" | ||
| --- |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.