Skip to content

Commit 64c58f1

Browse files
committed
Moves rendering to Jekyll
1 parent 0206d9e commit 64c58f1

40 files changed

+392
-131
lines changed

.gitignore

+5-9
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
<<<<<<< HEAD
2-
.idea/
3-
=======
4-
# ignore lock file of Brew
5-
# changes all the time
6-
Brewfile.lock.json
7-
# ignore build directory of mkdocs
8-
site
9-
>>>>>>> 3a900c2 (init commit)
1+
_site
2+
.sass-cache
3+
.jekyll-cache
4+
.jekyll-metadata
5+
vendor

.ruby-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.3.6

404.html

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
permalink: /404.html
3+
layout: default
4+
---
5+
6+
<style type="text/css" media="screen">
7+
.container {
8+
margin: 10px auto;
9+
max-width: 600px;
10+
text-align: center;
11+
}
12+
h1 {
13+
margin: 30px 0;
14+
font-size: 4em;
15+
line-height: 1;
16+
letter-spacing: -1px;
17+
}
18+
</style>
19+
20+
<div class="container">
21+
<h1>404</h1>
22+
23+
<p><strong>Page not found :(</strong></p>
24+
<p>The requested page could not be found.</p>
25+
</div>

Brewfile

-2
This file was deleted.

CONTRIBUTING.md

+28-23
Original file line numberDiff line numberDiff line change
@@ -17,44 +17,49 @@ Feel free to edit any existing page. We have a _slight_ preference for [referenc
1717
When adding a new page please keep in mind a few things.
1818

1919
- All files must be valid Markdown syntax and end in the `.md` extension
20-
- Files in the `/docs` directory will show up in the root
21-
- e.g., `/who_is_ora.md` will build a page at `https://alumni-codex.github.io/who_is_ora/`
22-
- If you want to make a collection of related pages
23-
- Create a new directory under `/docs`
24-
- e.g., `/docs/pivotal_breakfast/`
25-
- Create new pages underneath your new directory and write those pages
26-
- `/docs/pivotal_breakfast/ora.md` and `/docs/pivotal_breakfast/gemma.md`; these will render to `https://alumni-codex.github.io/pivotal_breakfast/ora/` and `https://alumni-codex.github.io/pivotal_breakfast/gemma/` respectively
27-
- `/docs/pivotal_breakfast/index.md/` will render to `https://alumni-codex.github.io/pivotal_breakfast/`
28-
29-
### Adding New Pages to Nav
30-
31-
Whenever you add new pages, you need to _add them to the left-side navigation __manually___.
20+
- Every file needs YAML front matter that looks like this:
21+
22+
```yaml
23+
---
24+
title: <My new page title>
25+
layout: default # so that the side nav renders on this page
26+
parent: <title of parent page> # puts this page in the side nav
27+
---
28+
```
3229

33-
To add these new pages, you need to update the `nav` section of `mkdocs.yml`. Use the existing file as a guide.
30+
- In order to be connected to the side navigation, the file needs a `parent` (see above)
31+
- e.g., `/who_is_ora.md` will build a page at `https://alumni-codex.github.io/who_is_ora/`
32+
- New Directories are welcome!
33+
- The directory needs an `index.md` for this group of related pages
34+
- This `index.md` doesn't need a parent, but it needs a `nav_order: integer` to place it in the Side Nav
3435

3536
## Local Development
3637

3738
Please fork the repo for local development. See below re: Pull Requests.
3839

39-
All of the source to this site is in the `main` branch in the `/docs` directory. This directory and its subdirectories adhere to [MkDocs][mkd] patterns.
40+
All of the source to this site is in the `main` branch directory. This directory and its subdirectories adhere to [Jekyll](https://jekyllrb.com) patterns.
4041

4142
Local development is _not required_, but it can help maintainers get your edits to the web faster.
4243

4344
### Setup
4445
To set up a local development environment - that is, to allow for live reload and preview of the built HTML - you will need:
4546

46-
- Homebrew
47-
- Python 3 + `pip`
47+
- Homebrew (to install a useful Ruby)
48+
- Ruby 3.3.x and Bundler
49+
-
50+
## Development
51+
52+
You will need Ruby 3.3.x and Bundler in order to validate locally.
4853

4954
```bash
50-
brew bundle # see the Brewfile in the repo root
51-
pip3 install -r requirements.txt
52-
mkdocs server
53-
# make changes to docs (see below)
54-
# make sure markdown formatted correctly
55-
deno fmt .
56-
# make git commit and PR (optional)
55+
# Install dependencies
56+
bundle install
57+
# Run the dev server
58+
bundle exec jekyll serve
59+
# Navigate your browser to it
60+
open http://127.0.0.1:4000/
5761
```
62+
5863
## Submitting a Pull Request
5964

6065
We're using GitHub's PR flow to manage contributions and deal with potential conflicts.

Gemfile

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
source "https://rubygems.org"
2+
3+
gem "jekyll", "~> 4.0"
4+
5+
group :jekyll_plugins do
6+
gem "jekyll-feed"
7+
gem "jemoji"
8+
gem "just-the-docs"
9+
end
10+
11+
gem "kramdown-parser-gfm"

README.md

+2-15
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,12 @@ Given that the [Pivotal Alumni Slack][slk] is free, and free Slacks have only 90
1212

1313
- The `main` branch of this repo the source code for this site
1414
- When changes are made to the `main` brach, GitHub Actions builds and deploys HTML
15-
- The HTML and CSS are generated with [MkDocs][mkd]
15+
- The HTML and CSS are generated with [Jekyll](https://jekyllrb.com), the default for GitHub pages
1616
- This site is hosted via GitHub Pages
1717

18-
## Contributing
18+
## Development / Contributing
1919

2020
- All changes should come via Pull Request.
2121
- Please see [CONTRIBUTING.md][contrib] for details on how to add and update files.
2222
- Be Kind
2323
- Reach out to Davis - @infews - if you want to help with admin of this site
24-
25-
## Development
26-
27-
You will need Python 3 and the Pip package manager.
28-
29-
```bash
30-
# Install dependencies
31-
pip install -r requirements.txt
32-
# Run the dev server
33-
mkdocs serve
34-
# Navigate your browser to it
35-
open http://127.0.0.1:8000/
36-
```

_config.yml

+120
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
# Welcome to Jekyll!
2+
#
3+
# This config file is meant for settings that affect your whole blog, values
4+
# which you are expected to set up once and rarely edit after that. If you find
5+
# yourself editing this file very often, consider using Jekyll's data files
6+
# feature for the data you need to update frequently.
7+
#
8+
# For technical reasons, this file is *NOT* reloaded automatically when you use
9+
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
10+
#
11+
# If you need help with YAML syntax, here are some quick references for you:
12+
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
13+
# https://learnxinyminutes.com/docs/yaml/
14+
#
15+
# Site settings
16+
# These are used to personalize your new site. If you look in the HTML files,
17+
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
18+
# You can create any custom variable you would like, and they will be accessible
19+
# in the templates via {{ site.myvariable }}.
20+
21+
title: Pivotal Alumni Codex
22+
email: [email protected] # maintainer
23+
description: >- # this means to ignore newlines until "baseurl:"
24+
A place for the links to the things we wish we'd taken with us.
25+
baseurl: "" # the subpath of your site, e.g. /blog
26+
url: "https://https://alumni-codex.github.io/"
27+
#twitter_username: jekyllrb
28+
#github_username: jekyll
29+
30+
# Build settings
31+
theme: just-the-docs
32+
plugins:
33+
- jekyll-feed
34+
35+
# Set a path/url to a logo that will be displayed instead of the title
36+
logo: "/assets/images/just-the-docs.png"
37+
38+
# Set a path/url to a favicon that will be displayed by the browser
39+
favicon_ico: "/assets/images/favicon.ico"
40+
41+
# Enable or disable the side/mobile menu globally
42+
# Nav menu can also be selectively enabled or disabled using page variables or the minimal layout
43+
nav_enabled: true
44+
45+
# Heading anchor links appear on hover over h1-h6 tags in page content
46+
# allowing users to deep link to a particular heading on a page.
47+
#
48+
# Supports true (default) or false
49+
heading_anchors: true
50+
51+
# Enable or disable the site search
52+
# Supports true (default) or false
53+
search_enabled: true
54+
55+
search:
56+
# Split pages into sections that can be searched individually
57+
# Supports 1 - 6, default: 2
58+
heading_level: 2
59+
# Maximum amount of previews per search result
60+
# Default: 3
61+
previews: 3
62+
# Maximum amount of words to display before a matched word in the preview
63+
# Default: 5
64+
preview_words_before: 5
65+
# Maximum amount of words to display after a matched word in the preview
66+
# Default: 10
67+
preview_words_after: 10
68+
# Set the search token separator
69+
# Default: /[\s\-/]+/
70+
# Example: enable support for hyphenated search words
71+
tokenizer_separator: /[\s/]+/
72+
# Display the relative url in search results
73+
# Supports true (default) or false
74+
rel_url: true
75+
# Enable or disable the search button that appears in the bottom right corner of every page
76+
# Supports true or false (default)
77+
button: false
78+
# Focus the search input by pressing `ctrl + focus_shortcut_key` (or `cmd + focus_shortcut_key` on macOS)
79+
focus_shortcut_key: 'k'
80+
81+
# Footer content
82+
# appears at the bottom of every page's main content
83+
# Note: The footer_content option is deprecated and will be removed in a future major release. Please use `_includes/footer_custom.html` for more robust markup / liquid-based content.
84+
footer_content: "Copyright &copy; 2020-2024 by Pivots. Distributed by an <a href=\"https://github.com/just-the-docs/just-the-docs/tree/main/LICENSE.txt\">MIT license.</a>"
85+
86+
# Footer last edited timestamp
87+
last_edit_timestamp: true # show or hide edit time - page must have `last_modified_date` defined in the frontmatter
88+
last_edit_time_format: "%b %e %Y at %I:%M %p" # uses ruby's time format: https://ruby-doc.org/stdlib-2.7.0/libdoc/time/rdoc/Time.html
89+
90+
# Footer "Edit this page on GitHub" link text
91+
gh_edit_link: true # show or hide edit this page link
92+
gh_edit_link_text: "This page on GitHub."
93+
gh_edit_repository: "https://github.com/alumni-codex/alumni-codex.github.io" # the github URL for your repo
94+
gh_edit_branch: "main" # the branch that your docs is served from
95+
# gh_edit_source: docs # the source that your files originate from
96+
gh_edit_view_mode: "tree" # "tree" or "edit" if you want the user to jump into the editor immediately
97+
98+
# Exclude from processing.
99+
# The following items will not be processed, by default.
100+
# Any item listed under the `exclude:` key here will be automatically added to
101+
# the internal "default list".
102+
#
103+
# Excluded items can be processed by explicitly listing the directories or
104+
# their entries' file path in the `include:` list.
105+
#
106+
exclude:
107+
- .gitignore
108+
- .ruby-version
109+
- CONTRIBUTING.md
110+
- README.md
111+
# - .sass-cache/
112+
# - .jekyll-cache/
113+
# - gemfiles/
114+
# - Gemfile
115+
# - Gemfile.lock
116+
# - node_modules/
117+
# - vendor/bundle/
118+
# - vendor/cache/
119+
# - vendor/gems/
120+
# - vendor/ruby/

_includes/head_custom.html

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<link rel="preconnect" href="https://fonts.googleapis.com">
2+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
3+
<link rel="icon" href="/docs/assets/blades.svg"/>

_sass/custom/custom.scss

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
2+
3+
$body-font-family-pivotal: "IBM Plex Sans", system-ui, -apple-system, blinkmacsystemfont, "Segoe UI", roboto, "Helvetica Neue", arial, sans-serif, "Segoe UI Emoji" !default;
4+
$mono-font-family-pivotal: "IBM Plex Mono", "SFMono-Regular", menlo, consolas, monospace !default;
5+
6+
body {
7+
font-family: $body-font-family-pivotal;
8+
}
9+
10+
code, .text-mono {
11+
font-family: $mono-font-family-pivotal;
12+
}
13+
14+
h1 {
15+
font-weight: 600;
16+
}

_sass/custom/setup.scss

Whitespace-only changes.

docs/engineering/core-practice.md renamed to agile-resources/core-practice.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
title: Core Practices
3+
layout: default
4+
parent: Agile Resources
5+
---
6+
17
# Core Practice Discussions
28

39
Pivotal engineers would meet periodically over lunch to have a facilitated discussion of one of our core practices — the things we do every day. We made time for these discussions because the "why" of the practices doesn't often get communicated during pair programming, and we wanted to avoid developing "cargo cults" of people who followed the practices dogmatically without understanding their purpose.

docs/agility-resources/facilitation-notes.md renamed to agile-resources/facilitation-notes.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
title: Facilitation
3+
parent: Agile Resources
4+
layout: default
5+
---
6+
17
# Facilitation
28

39
## Common Meetings

agile-resources/index.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: Agile Resources
3+
layout: default
4+
nav_order: 5
5+
---

docs/newsletters.md renamed to agile-resources/newsletters.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
title: Newsletters of Note
3+
parent: Agile Resources
4+
layout: default
5+
---
16

27
# Newsletters of Note
38

Original file line numberDiff line numberDiff line change
@@ -1,24 +1,34 @@
1+
---
2+
title: Practices
3+
parent: Agile Resources
4+
layout: default
5+
nav_order: 1
6+
---
7+
18
# Practices
29

10+
## From Pivotal
311
- [Labs Practices](https://labspractices.com/)
412
- "Open Sourced" how-to guides from Tanzu Labs, including templates for many sessions
513
- Maintained by [Pivot Joe Moore's](mailto:[email protected])
614
- Moved to this site when Tanzu consolidated all its learning materials under one banner
7-
- [The Anchor Playbook](https://tanzu.vmware.com/developer/learningpaths/anchor-playbook/)
15+
- [The Anchor Playbook](https://tanzu.vmware.com/developer/learningpaths/anchor-playbook/) FIXME
816
- [The Pivotal Glossary](https://tanzu.vmware.com/content/blog/the-pivotal-glossary), by Megan Holzer
917
- A set of common Pivotal language
1018
- [Pivotal-style facilitaton notes](facilitation-notes.md)
1119
- Documenting the basics of how to facilitate a meeting: ground rules, standard meeting agendas, etc.
20+
- [Tanzu Miro Templates](https://miro.com/miroverse/profile/vmware-pivotal-labs/)
21+
- Note: this page might be going away when Tanzu ends their subscription
22+
23+
## Other Sources
24+
1225
- [Atlassian Team Playbooks](https://www.atlassian.com/team-playbook/plays)
1326
- Another collection of workshops
1427
- Some overlap with what we used a Pivotal. Many good things here, complete with templates for Atlassian Products
1528
- [Agile Software Planning: What to do if Classic 2-Week Sprint Planning isn't Working](https://medium.com/@AdamPiel/agile-software-planning-what-to-do-if-classic-2-week-sprint-planning-isnt-working-for-your-team-c482af31a1f8)
16-
- [Tanzu Miro Templates](https://miro.com/miroverse/profile/vmware-pivotal-labs/)
17-
- Note: this page might be going away when Tanzu ends their subscription
1829
- [Automatic Project Management](http://benchristel.github.io/presentations/pivotal-tracker/#1)
1930
- A presentation about the Pivotal Tracker Way
2031

2132
## Team Structure
2233

23-
- Janice Fraser's deck
24-
on [Balanced Teams](https://www.slideshare.net/clevergirl/2015-balanced-teams-product-management-engineering)
34+
- Janice Fraser's deck on [Balanced Teams](https://www.slideshare.net/clevergirl/2015-balanced-teams-product-management-engineering)

assets/blades.svg

+13
Loading
File renamed without changes.

0 commit comments

Comments
 (0)