- 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
Merged
Uh oh!
There was an error while loading. Please reload this page.
Merged
Changes from all commits
Commits
Show all changes
6 commits Select commit Hold shift + click to select a range
6b24e3d Create Editorial Board static site using Hugo
Mariatta cc15aee Update readme with instructions on how to build the static site
Mariatta 297a167 Change the base url
Mariatta d3b266c Add netlify.toml
Mariatta 028290a Make links underlined.
Mariatta b4cd784 Update date formatting in `updates` archetype
Mariatta File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| 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. Show resolvedHide resolvedUh 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. Show resolvedHide resolvedUh 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. Show resolvedHide resolvedUh 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). | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| 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 | ||
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| title: "" | ||
| date: "{{.Date }}" | ||
| --- | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| 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 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| 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; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| title: "Archive" | ||
| layout: "archives" | ||
| url: "/archives" | ||
| summary: "archives" | ||
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| 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" | ||
| --- |
39 changes: 25 additions & 14 deletions 39 updates/2024-01-08-editorial-board-update.md → ...ates/2024-01-08-editorial-board-update.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
15 changes: 12 additions & 3 deletions 15 updates/2024-02-12-editorial-board-update.md → ...ates/2024-02-12-editorial-board-update.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
24 changes: 17 additions & 7 deletions 24 updates/2024-03-11-editorial-board-update.md → ...ates/2024-03-11-editorial-board-update.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
18 changes: 14 additions & 4 deletions 18 updates/2024-04-08-editorial-board-update.md → ...ates/2024-04-08-editorial-board-update.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
24 changes: 17 additions & 7 deletions 24 updates/2024-06-03-editorial-board-update.md → ...ates/2024-06-03-editorial-board-update.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.