diff --git a/astro.config.mjs b/astro.config.mjs
index 38eb18b0..ce37c731 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -30,17 +30,17 @@ export default defineConfig({
{
label: 'Specification',
items: [
- { label: 'overview', slug: 'overview' },
+ { label: 'spec overview', slug: 'overview' },
{ label: 'specification', slug: 'specification' },
{ label: 'emoji-key', slug: 'emoji-key' },
- { label: 'repository-maintainers', slug: 'repository-maintainers' },
+ { label: 'usage tips', slug: 'usage-tips' },
{ label: 'tooling', slug: 'tooling' }
],
},
{
label: '@all-contributors Bot 🤖',
items: [
- { label: 'overview', slug: 'bot/overview' },
+ { label: 'bot overview', slug: 'bot/overview' },
{ label: 'installation', slug: 'bot/installation' },
{ label: 'usage', slug: 'bot/usage' },
{ label: 'configuration', slug: 'bot/configuration' },
@@ -50,7 +50,7 @@ export default defineConfig({
{
label: 'CLI',
items: [
- { label: 'overview', slug: 'cli/overview' },
+ { label: 'CLI overview', slug: 'cli/overview' },
{ label: 'installation', slug: 'cli/installation' },
{ label: 'usage', slug: 'cli/usage' },
{ label: 'configuration', slug: 'cli/configuration' }
@@ -60,8 +60,9 @@ export default defineConfig({
label: 'Project',
items: [
{ label: 'contribute', slug: 'project/contribute' },
+ { label: 'development', slug: 'project/development' },
{ label: 'code-of-conduct', slug: 'project/code-of-conduct' },
- { label: 'implementations', slug: 'project/implementations' }
+ { label: 'implementations', slug: 'project/implementations' },
],
},
],
@@ -69,5 +70,10 @@ export default defineConfig({
vite: {
plugins: [tailwindcss()],
+ resolve: {
+ alias: {
+ '@assets': '/src/assets',
+ },
+ },
},
});
\ No newline at end of file
diff --git a/public/images/logo-full.svg b/public/images/logo-full.svg
index f503e390..5b0aa460 100644
--- a/public/images/logo-full.svg
+++ b/public/images/logo-full.svg
@@ -1 +1,24 @@
-
+
diff --git a/src/assets/bot-usage.png b/src/assets/bot-usage.png
new file mode 100644
index 00000000..56f550d6
Binary files /dev/null and b/src/assets/bot-usage.png differ
diff --git a/src/assets/logo-full.svg b/src/assets/logo-full.svg
index f503e390..5b0aa460 100644
--- a/src/assets/logo-full.svg
+++ b/src/assets/logo-full.svg
@@ -1 +1,24 @@
-
+
diff --git a/src/content/docs/emoji-key.md b/src/content/docs/emoji-key.md
index 1ab2c438..af32a1e4 100644
--- a/src/content/docs/emoji-key.md
+++ b/src/content/docs/emoji-key.md
@@ -4,47 +4,57 @@ title: Emoji Key ✨ (and Contribution Types)
sidebar_label: Emoji Key ✨
---
-## Table
-
-> To have a contribution added when using the [Bot](bot/overview) or [CLI](cli/overview) use the keyword in the `Type` column. The bot will also use [basic Natural Language Parsing](https://github.com/all-contributors/app/blob/main/lib/parse-comment.js) to determine your contribution intent.
-
-Emoji/Type | Represents | Comments |
-:---: | :---: | :---: |
-🔊
`audio` | Audio | Podcasts, background music or sound effects |
-♿️
`a11y` | Accessibility | Reporting or working on accessibility issues |
-🐛
`bug` | Bug reports | Links to issues reported by the user on this project |
-📝
`blog` | Blogposts | Links to the blogpost |
-💼
`business` | Business Development | People who execute on the business end |
-💻
`code` | Code | Links to commits by the user on this project |
-🖋
`content` | Content | e.g. website copy, blog posts are separate |
-🔣
`data` | Data | Links to contributed data for the project (both tests and datasets) |
-📖
`doc` | Documentation | Links to commits by the user on this project, Wiki, or other source of documentation |
-🎨
`design` | Design | Links to the logo/iconography/visual design/etc. |
-💡
`example` | Examples | Links to the examples |
-📋
`eventOrganizing` | Event Organizers | Links to event page |
-💵
`financial` | Financial Support | People or orgs who provide financial support, links to relevant page |
-🔍
`fundingFinding` | Funding/Grant Finders | People who help find financial support |
-🤔
`ideas` | Ideas & Planning | |
-🚇
`infra` | Infrastructure | Hosting, Build-Tools, etc. Links to source file (like `travis.yml`) in repo, if applicable |
-🚧
`maintenance` | Maintenance | People who help in maintaining the repo, links to commits by the user on this project |
-🧑🏫
`mentoring` | Mentoring | People who mentor new contributors, links to the repo home |
-📦
`platform` | Packaging | Porting to support a new platform |
-🔌
`plugin` | Plugin/utility libraries | Links to the repo home |
-📆
`projectManagement` | Project Management | |
-📣
`promotion` | Promotion | |
-💬
`question` | Answering Questions | Answering Questions in Issues, Stack Overflow, Gitter, Slack, etc. |
-🔬
`research` | Research | Literature review. |
-👀
`review` | Reviewed Pull Requests | |
-🛡️
`security` | Security | Identify and/or reduce security threats, GDPR, Privacy, etc |
-🔧
`tool` | Tools | Links to the repo home |
-🌍
`translation` | Translation | Links to the translated content |
-⚠️
`test` | Tests | Links to commits by the user on this project |
-✅
`tutorial` | Tutorials | Links to the tutorial |
-📢
`talk` | Talks | Links to the slides/recording/repo/etc |
-📓
`userTesting` | User Testing | Links to user test notes |
-📹
`video` | Videos | Links to the video |
-
-## What's next
-
-- [Notes for repository maintainers](repository-maintainers)
-- [Automating the process using tools](tooling)
+## About the Emoji Table
+
+To have a contribution added when using the [Bot](bot/overview) or [CLI](cli/overview) use the keyword in the `Type` column.
+
+For example if you add a comment in an issue or Pull Request on GitHub like this:
+
+`@all-contributors add @usernamehere for a11y`
+
+Then the bot will add the user (usernamehere) as a contributor with the `Accessibility` contribution type to your project's README file.
+You can also use multiple contribution types like this:
+
+`@all-contributors add @usernamehere for a11y, docs, infra`
+
+And the bot will add those contribution types to the user's existing contribution types. If the user is not already a contributor, the bot will add them as a new contributor with those contribution types.
+
+### Natural Language Processing
+
+The bot will use [basic Natural Language Parsing](https://github.com/all-contributors/app/blob/main/lib/parse-comment.js) to determine your contribution intent.
+
+| Emoji/Type | Represents | Comments |
+| :---: | :---: | :---: |
+| 🔊
`audio` | Audio | Podcasts, background music or sound effects |
+| ♿️
`a11y` | Accessibility | Reporting or working on accessibility issues |
+| 🐛
`bug` | Bug reports | Links to issues reported by the user on this project |
+| 📝
`blog` | Blogposts | Links to the blogpost |
+| 💼
`business` | Business Development | People who execute on the business end |
+| 💻
`code` | Code | Links to commits by the user on this project |
+| 🖋
`content` | Content | e.g. website copy, blog posts are separate |
+| 🔣
`data` | Data | Links to contributed data for the project (both tests and datasets) |
+| 📖
`doc` | Documentation | Links to commits by the user on this project, Wiki, or other source of documentation |
+| 🎨
`design` | Design | Links to the logo/iconography/visual design/etc. |
+| 💡
`example` | Examples | Links to the examples |
+| 📋
`eventOrganizing` | Event Organizers | Links to event page |
+| 💵
`financial` | Financial Support | People or orgs who provide financial support, links to relevant page |
+| 🔍
`fundingFinding` | Funding/Grant Finders | People who help find financial support |
+| 🤔
`ideas` | Ideas & Planning | Open up issues |
+| 🚇
`infra` | Infrastructure | Hosting, Build-Tools, etc. Links to source file (like `travis.yml`) in repo, if applicable |
+| 🚧
`maintenance` | Maintenance | People who help in maintaining the repo, links to commits by the user on this project |
+| 🧑🏫
`mentoring` | Mentoring | People who mentor new contributors, links to the repo home |
+| 📦
`platform` | Packaging | Porting to support a new platform |
+| 🔌
`plugin` | Plugin/utility libraries | Links to the repo home |
+| 📆
`projectManagement` | Project Management | Organize team meetings, take minutes, set timelines, etc. |
+| 📣
`promotion` | Promotion | Social media |
+| 💬
`question` | Answering Questions | Answering Questions in Issues, Stack Overflow, Gitter, Slack, etc. |
+| 🔬
`research` | Research | Literature review. |
+| 👀
`review` | Reviewed Pull Requests | |
+| 🛡️
`security` | Security | Identify and/or reduce security threats, GDPR, Privacy, etc |
+| 🔧
`tool` | Tools | Links to the repo home |
+| 🌍
`translation` | Translation | Links to the translated content |
+| ⚠️
`test` | Tests | Links to commits by the user on this project |
+| ✅
`tutorial` | Tutorials | Links to the tutorial |
+| 📢
`talk` | Talks | Links to the slides/recording/repo/etc |
+| 📓
`userTesting` | User Testing | Links to user test notes |
+| 📹
`video` | Videos | Links to the video |
diff --git a/src/content/docs/index.mdx b/src/content/docs/index.mdx
index 7c2f5cf2..52660cf0 100644
--- a/src/content/docs/index.mdx
+++ b/src/content/docs/index.mdx
@@ -9,47 +9,33 @@ hero:
tagline: Including those that don't push code.
image:
alt: A glittering, brightly colored logo
- file: "../../assets/hero.png"
+ file: "@assets/hero.png"
+ actions:
+ - text: Install the bot
+ link: /bot/installation
+ icon: right-arrow
+ - text: View on GitHub
+ link: https://github.com/all-contributors/all-contributors
+ icon: external
+ variant: minimal
+ attrs:
+ rel: me
---
import "../../styles/allcontributors.scss";
import { LinkCard, CardGrid } from "@astrojs/starlight/components";
import { Picture } from "astro:assets";
import { LinkButton } from '@astrojs/starlight/components';
-import addContributors from "../../assets/add-contributors.png";
-import heroImg from '../../assets/hero.png';
-import swoosh from '../../assets/bg-swoop.svg';
-import howItWorks from '../../assets/how-it-works.png';
-import p5jsLogo from '../../assets/p5js.png';
-import snipeitLogo from '../../assets/snipeit.png';
-import golearningLogo from '../../assets/golearning.png';
-import formikLogo from '../../assets/formik.png';
+import addContributors from '@assets/add-contributors.png';
+import heroImg from '@assets/hero.png';
+import swoosh from '@assets/bg-swoop.svg';
+import howItWorks from '@assets/how-it-works.png';
+import p5jsLogo from '@assets/p5js.png';
+import snipeitLogo from '@assets/snipeit.png';
+import golearningLogo from '@assets/golearning.png';
+import formikLogo from '@assets/formik.png';
-
-
-
Including those that don't push code
-
-
+Below is an example of how using the all-contributors spec table can recognize all contributors.
+
+
+
-
-
-### All Contributors CLI
-
-If you prefer command-line tools, you can instead use the [all-contributors CLI tool](cli/overview) to help automate adding contributor acknowledgements.
diff --git a/src/content/docs/tooling.mdx b/src/content/docs/tooling.mdx
new file mode 100644
index 00000000..4e20db90
--- /dev/null
+++ b/src/content/docs/tooling.mdx
@@ -0,0 +1,25 @@
+---
+id: tooling
+title: Automating Updates with Tooling
+sidebar_label: Tooling
+---
+import { Picture } from "astro:assets";
+import botUsage from '@assets/bot-usage.png';
+
+## Why We Created the All Contributors Bot and CLI
+
+Implementing the [All Contributors spec](specification) by hand is a laborious process. To add contributors who have not contributed code to your project but have contributed in other ways requires manually editing your README file to add their name, profile link, and the appropriate contribution type emoji.
+
+Further, you'd have to keep track of who has contributed what over time. This is a lot to manage, especially for larger projects with many contributors.
+
+### All Contributors Bot
+
+The [@all-contributors bot 🤖](bot/overview), makes the process of adding contributors of all kinds simple. When called to add a user, the bot will automatically pull a user's profile image, grab the contribution type emoji, update your project's README file and then open a Pull Request against the project with the updated README file. ✨
+
+