Commit Graph

39 Commits

Author SHA1 Message Date
george-gca
36929ba761 Auto update markdown TOC 2026-01-29 01:55:22 +00:00
George
25b758805c
Added copilot instructions, AGENTS.md, improved README files (#3486)
This pull request introduces several documentation improvements and adds
comprehensive Copilot and agent instruction files to the al-folio
repository. The most significant changes are the addition of
repository-wide and path-specific Copilot instructions, updates to agent
documentation to reference these instructions, and improvements to the
documentation structure and clarity regarding file purposes and
workflows.

**Copilot and Agent Instruction Enhancements:**

- Added a new `.github/copilot-instructions.md` file providing detailed,
repository-wide setup, build, CI/CD, troubleshooting, and file format
guidance for Copilot coding agents.
- Introduced `.github/instructions/bibtex-bibliography.instructions.md`
with specific instructions for editing and validating BibTeX files,
including custom keywords, formatting rules, and integration with
Jekyll-Scholar.
- Updated agent documentation files (`customize.agent.md`,
`docs.agent.md`) to reference the new Copilot instruction files and
explain their purpose and usage for both repository-wide and
path-specific scenarios.
[[1]](diffhunk://#diff-15864f2655921f50a97689076e3b8feba0da320463750845be6a76eb2e30bfe4L57-R65)
[[2]](diffhunk://#diff-15864f2655921f50a97689076e3b8feba0da320463750845be6a76eb2e30bfe4L107-R122)
[[3]](diffhunk://#diff-961a46180ce568ce43c20bf7129dc5e4926a9aa4e0d7bc19926ca5ee3ff95cd0L49-R51)
[[4]](diffhunk://#diff-961a46180ce568ce43c20bf7129dc5e4926a9aa4e0d7bc19926ca5ee3ff95cd0L106-R137)

**Documentation Structure and Clarity Improvements:**

- Clarified and reorganized the documentation file list in agent files,
removing references to deprecated or merged files (e.g.,
`MAINTENANCE.md`, `ACCESSIBILITY.md`) and updating descriptions to
reflect current usage.
[[1]](diffhunk://#diff-15864f2655921f50a97689076e3b8feba0da320463750845be6a76eb2e30bfe4L57-R65)
[[2]](diffhunk://#diff-961a46180ce568ce43c20bf7129dc5e4926a9aa4e0d7bc19926ca5ee3ff95cd0L21-R21)
[[3]](diffhunk://#diff-961a46180ce568ce43c20bf7129dc5e4926a9aa4e0d7bc19926ca5ee3ff95cd0L106-R137)
- Enhanced documentation on the purpose and application of each
documentation file, and added detailed explanations of Copilot
instruction files and their role in project development.

**Workflow and Validation Updates:**

- Updated references and descriptions for GitHub Actions workflows in
agent documentation to include the Copilot environment setup and clarify
pre-commit and CI/CD requirements.
[[1]](diffhunk://#diff-15864f2655921f50a97689076e3b8feba0da320463750845be6a76eb2e30bfe4L57-R65)
[[2]](diffhunk://#diff-961a46180ce568ce43c20bf7129dc5e4926a9aa4e0d7bc19926ca5ee3ff95cd0L49-R51)
- Corrected references for accessibility guidance, now directing users
to `TROUBLESHOOTING.md` instead of the removed `ACCESSIBILITY.md`.

These changes collectively improve the onboarding experience for both
human contributors and AI agents, ensuring consistent adherence to
project conventions and reducing errors.

**References:**  

[[1]](diffhunk://#diff-227c2c26cb2ee0ce0f46a320fc48fbcbdf21801a57f59161b1d0861e8aad55f5R1-R253)
[[2]](diffhunk://#diff-6fd2827fb8d9c2dd6dc973572201853487ecbbd1120b00425d4f1c21dfdcf35fR1-R174)
[[3]](diffhunk://#diff-15864f2655921f50a97689076e3b8feba0da320463750845be6a76eb2e30bfe4L57-R65)
[[4]](diffhunk://#diff-15864f2655921f50a97689076e3b8feba0da320463750845be6a76eb2e30bfe4L107-R122)
[[5]](diffhunk://#diff-15864f2655921f50a97689076e3b8feba0da320463750845be6a76eb2e30bfe4L550-R562)
[[6]](diffhunk://#diff-961a46180ce568ce43c20bf7129dc5e4926a9aa4e0d7bc19926ca5ee3ff95cd0L21-R21)
[[7]](diffhunk://#diff-961a46180ce568ce43c20bf7129dc5e4926a9aa4e0d7bc19926ca5ee3ff95cd0L49-R51)
[[8]](diffhunk://#diff-961a46180ce568ce43c20bf7129dc5e4926a9aa4e0d7bc19926ca5ee3ff95cd0L106-R137)

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-28 22:55:05 -03:00
george-gca
1e657e9a4b Auto update markdown TOC 2026-01-26 21:27:01 +00:00
Scott Lee Chua
5ab56faadd
Update SASS syntax in base (non-font) files (#3281)
Partially fixes issue #3256 by updating SASS syntax in main SCSS files.

To fully address the issue, FontAwesome should be updated to `v7.x` and
Tabler to `v3.30` or higher (see Tabler fix
[here](https://github.com/tabler/tabler-icons/pull/1256)), where the
SCSS has been fixed.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
Co-authored-by: George Araújo <george.gcac@gmail.com>
2026-01-26 18:26:44 -03:00
george-gca
4589f3ce07 Auto update markdown TOC 2026-01-02 22:11:19 +00:00
George
f4426aa17e
Added support for helping agents (#3379)
Since a lot of our users don't have a coding background and given
recently development with AI agents, I decided to try to add support for
specialized agents in our repository. They were created following
[agents.md](https://agents.md/) "specifications" and are currently 2:
- `customize-agent` - to help new users with access to GitHub Copilot
customize their site
- `docs-agent` - to help us keep the documentation always updated with
the latest changes in our code

I don't really know how useful they'll actually be, but I think most of
our users might actually benefit from the `customize-agent`, so it is
worth a shot.

<img width="852" height="1043" alt="image"
src="https://github.com/user-attachments/assets/e8390f1a-cec3-42a8-b01e-26d658ea78e8"
/>

Edit: also added a link to a [Code Wiki to our
repository](https://codewiki.google/github.com/alshedivat/al-folio) and
[DeepWiki](https://deepwiki.com/alshedivat/al-folio). This allows any
user to chat online with AIs (Gemini and Devin) about our repository.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-02 19:11:03 -03:00
George
ae741aaada
Fix toc issue (#3192)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2025-06-03 17:53:06 -03:00
alshedivat
5a5bb9e59c Auto update markdown TOC 2025-05-23 13:42:25 +00:00
Maruan
71969cce7e
Fix: Improve footnote and citation colors in Distill posts (#3172)
Fixes #3168. (Implemented by [jules.google](https://jules.google).)

This commit resolves issues with footnote and citation styling in
Distill posts, particularly ensuring that pop-up contents and the
numbers themselves respect the site's light/dark theme via shadow DOM
style definitions.

Key changes:

1.  **`d-hover-box` Internal Styling (template.v2.js):**
    The `<style>` tag within the `d-hover-box` component's template
    in `assets/js/distillpub/template.v2.js` has been updated.
    Styles for `.panel` (the main pop-up container) now define:
    - `background-color: var(--global-card-bg-color);`
    - `border: 1px solid var(--global-divider-color);`
    - `color: var(--global-text-color);` (for default text)
    - Links within the panel are styled with
      `color: var(--global-theme-color);` and
      `color: var(--global-hover-color);` on hover.
    This ensures pop-up content is correctly themed from within its
    shadow DOM.

2.  **Footnote/Citation Number Color (template.v2.js):**
    The hardcoded `hsla(206, 90%, 20%, 0.7)` color previously used for
    footnote numbers (in `d-footnote` template) and citation numbers
    (in `d-cite` template) in `assets/js/distillpub/template.v2.js`
    has been replaced with `color: var(--global-theme-color);`.

3.  **Cleaned `_sass/_distill.scss`:**
    Removed the (now redundant) global CSS overrides for `d-hover-box`
    from `_sass/_distill.scss`, as these styles are now correctly
    encapsulated within the `d-hover-box` component itself.

These changes ensure that all aspects of Distill footnotes and
citations (numbers, pop-up background, pop-up text, and links within
pop-ups) are styled using theme-aware CSS variables, providing
correct visual appearance and readability in both light and dark modes.

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-05-23 06:42:09 -07:00
george-gca
ac99061bce Auto update markdown TOC 2025-05-12 19:49:17 +00:00
George
4f7da1d367
Removed link from header in FAQ.md 2025-05-12 16:48:58 -03:00
george-gca
c98d596e2d Auto update markdown TOC 2025-05-12 19:46:12 +00:00
George
5878b5c71d
Update FAQ.md layout 2025-05-12 16:45:56 -03:00
George
c5bdfebd5b
Fixed tocs (#3133)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2025-04-14 17:02:59 -03:00
george-gca
b963b565bb Auto update markdown TOC 2025-04-14 18:43:53 +00:00
George
cc140ddc41
Update FAQ.md 2025-04-14 15:43:34 -03:00
george-gca
dfe4091c1c Auto update markdown TOC 2025-04-14 18:40:13 +00:00
George
91a2b63c80
Created GitHub action to update TOCs (#3132)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2025-04-14 15:39:55 -03:00
Soumyaranjan Dash
1da2e64e73
Updated FAQ.md. (#2937)
Added documentation for Google Search Console ID creation and usage in
the template for google-site-verification.
2025-01-07 17:22:28 -03:00
George
84cf4aff3d
Update Font Awesome and Tabler Icons (#2884)
Solves #2881.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-12-11 15:19:38 -03:00
George
de2b3b87ae
Renamed all references to master branch to main (#2793)
Finishes #2086

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-10-21 21:54:16 -03:00
George
04ab383c4b
Fixed prettier complaints on FAQ.md 2024-08-07 13:46:07 -03:00
George
610f42bf61
Update Prettier information on FAQ.md 2024-08-07 12:40:32 -03:00
George
fc15dd6cc8
Fixed prettier complaints on FAQ 2024-07-21 20:48:32 -03:00
George
2ebbb801e3
Expliciting how to handle wrong theme for site in FAQ.md 2024-07-21 17:13:10 -03:00
George
c3ac17294c
Improved FAQ readability 2024-07-21 16:19:33 -03:00
George
8fe4bee5e6
Remove lsi command (#2428)
Removed lsi command from code since it was added to _config.yml

---------

Signed-off-by: George Araujo <george.gcac@gmail.com>
2024-05-17 14:19:02 -03:00
George
36bc24f7e4
Fixed link to last FAQ question 2024-05-10 21:25:16 -03:00
George
37dbff08ab
Added prettier link to FAQ 2024-05-09 14:16:21 -03:00
George
32deb3899b
Added information about GitHub workflows to FAQ (#2404)
Signed-off-by: George Araujo <george.gcac@gmail.com>
2024-05-09 14:08:20 -03:00
George
dba48c2b60
Update FAQ.md with layout error information 2024-04-14 22:34:05 -03:00
George
00fdc13d6c
Added Bluesky social (#2314)
Now that Bluesky is [finally
available](https://fontawesome.com/changelog) at Font Awesome, we can
add it to the template.

---------

Signed-off-by: George Araujo <george.gcac@gmail.com>
2024-04-02 17:28:27 -03:00
George
9ac08fe6f3
Update FAQ.md with sqrt error message 2024-03-31 22:46:34 -03:00
George
4dd3d6f441
Updated information about lsi 2024-03-01 13:04:53 -03:00
George
4cf657eb54
Added jekyll-diagrams error to FAQ (#2162)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-02-05 12:22:24 -03:00
George
c39df67d5b
Updated FAQ with old repository information (#2161)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-02-05 12:11:33 -03:00
George
43a3dd9e75
Update FAQ.md with Prettier info 2024-01-28 19:31:18 -03:00
George
f69d99a2ab
Closing #2122 (#2135)
Added lighthouse badger token info to FAQ

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-27 22:17:37 -03:00
George
4a55cd1bd1
Upgrading the README file (#2034)
I decided to break the README file into different ones to declutter it
from the main page. Also adding some more explanation on the structure
of the template. Tackling #2032 and #2033

---------

Signed-off-by: George Araujo <george.gcac@gmail.com>
2024-01-02 22:30:48 -03:00