From 3f522e4d57ba21fe6f61620156e5f59907a6593f Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 30 Nov 2023 23:29:33 +0000 Subject: [PATCH] Add an initial Glossary page Keep adding more terms and descriptions. --- src/pages/glossary.mdx | 44 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 src/pages/glossary.mdx diff --git a/src/pages/glossary.mdx b/src/pages/glossary.mdx new file mode 100644 index 000000000..192a25f23 --- /dev/null +++ b/src/pages/glossary.mdx @@ -0,0 +1,44 @@ +--- +layout: ~/layouts/PageLayout.astro +title: Glossary +terms: + - - Automated Testing + + - - CI pipeline + + - - Continuous integration + - | + The process of continuously integrating your code with other people's code, i.e. at least once a day. + This is done by regularly pulling and merging everyone else's code with yours and pushing yours so it's available for others to do the same. This can also refer to CI pipelines and tools like GitHub Actions and GitLab CI. + + - - Continuous Delivery and Deployment + + - - Git + + - - PHPStan + + - - Static analysis + + - - Test-Driven Development + + - - Trunk-based Development + + - - Version control +--- + +import _ from "lodash"; + +export const filteredTerms = _(frontmatter.terms).filter((term) => term[1]) + +export const sortedTerms = _(filteredTerms).sortBy(0); + +{!sortedTerms.isEmpty() && ( +
+ {sortedTerms.value().map((term) => ( +
+
{term[0]}
+
{term[1]}
+
+ ))} +
+)}