Commit Graph

50 Commits

Author SHA1 Message Date
George
17b0251c0f
Update deps (#3437)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2026-01-14 13:19:11 -03:00
George
586a0ffd76
Updated prettier (#3420)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2026-01-04 17:51:02 -03:00
george-gca
b19d1e936e Auto update markdown TOC 2026-01-03 01:00:00 +00:00
George
e50824437c
Update deps (#3418)
Closes #3402

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2026-01-02 21:59:43 -03:00
george-gca
4250d15684 Auto update markdown TOC 2025-11-21 22:02:53 +00:00
George
7549180b96
Update dependencies (#3377)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2025-11-21 19:02:34 -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
George
169d0c2ee1
Update INSTALL.md docker version 2025-05-28 12:43:58 -03:00
George
e82520e4c2
Updated libraries versions (#3179)
Fix #3178

Signed-off-by: George Araújo <george.gcac@gmail.com>
2025-05-28 12:39:33 -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
8a70f13cb9 Auto update markdown TOC 2025-05-12 19:47:22 +00:00
George
55510343d4
Update INSTALL.md layout 2025-05-12 16:47:05 -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
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
George
81b3c60f00
Updated dependencies (#3091)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2025-03-22 22:38:38 -03:00
Amir Pourmand
93aeb6d685
Update INSTALL.md (#3074)
Again, I saw this version problem with current version of our docker
image. Supposedly, there is some json package problem which I dealt
with.

But here is the overall solution to this problem for whoever is having
it.

---------

Co-authored-by: George <31376482+george-gca@users.noreply.github.com>
2025-03-14 10:38:19 -03:00
George
afc34968a7
Fixed docs (#3059)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2025-03-11 12:09:51 -03:00
George
6625f2395a
Digital Bookshelf V2 (#2866)
Since I was annoyed at not being able to use
[jekyll-archives](https://github.com/jekyll/jekyll-archives) to create
an archive for the books, I decided to implement myself the
[jekyll-archives-v2](https://github.com/george-gca/jekyll-archives-v2)
that doesn't have this limitation.

Closes #923.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2025-02-28 13:57:36 -03:00
George
caf9976175
Add link to set workflow permissions 2025-01-30 16:02:39 -03:00
George
c5d0e92dbd
Update docker version on INSTALL.md 2025-01-15 23:14:50 -03:00
George
ae7b3c92f8
Update INSTALL.md repo version 2024-12-28 23:47:50 -03:00
George
6e1226d53a
Update INSTALL.md 2024-12-23 14:20:14 -03:00
Henry Fang
a340b6039d
Update the INSTALL.md file to include steps for deploying al-folio on Netlify. (#2798)
Update CUSTOMIZE.md to include steps to deploy al-folio on Netlify.

---------

Co-authored-by: Henry <Henry@home.com>
Co-authored-by: Henry_Lab <henry@lab.com>
2024-12-03 21:33:08 -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
0af4aecf50
Removed sync from template from INSTALL.md (#2781)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-10-16 11:52:16 -03:00
George
ebf2fc9cca
Update INSTALL.md link to video tutorial 2024-08-22 14:26:04 -03:00
George
cd59ca3966
Added video tutorial to install instructions (#2653)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-08-22 13:49:05 -03:00
George
c45c7675bd
Update INSTALL.md with running time of actions 2024-08-21 23:59:18 -03:00
George
c753284f21
Update INSTALL.md 2024-08-21 23:55:36 -03:00
George
c5c162cfa1
Update INSTALL.md recommended approach 2024-08-21 23:54:45 -03:00
Salman Faroz
e7da32f0e4
Lighthouse Badger token as secret (#2589)
In the
[FAQ](https://github.com/alshedivat/al-folio/blob/master/FAQ.md#my-webpage-works-locally-but-after-deploying-it-is-not-displayed-correctly-css-and-js-are-not-loaded-properly-how-do-i-fix-that),
it is mentioned to "add it as a secret". However, the Lighthouse Badger
documentation specifies using an environment variable. I've updated this
to use secrets instead, as it is more secure and appropriate for using a
Personal Access Token (PAT).

#### Personal Access Token (fine-grained) Permissions:
- **contents**: access: read and write
- **metadata**: access: read-only

#### Personal Access Token (classic) Permissions:
- **repo**


[refer](https://github.com/MyActionWay/lighthouse-badger-workflows#lighthouse-badger-easyyml:~:text=and%20permissions%20required-,PAT%20(fine%2Dgrained)%3A%20repository%20permissions,-contents%20%3D%3E%20access%3A%20read)

For more information, refer to the [GitHub documentation on using
secrets in GitHub
Actions](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions).
2024-07-25 12:07:22 -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
Gabriel Zhang
065cf08b47
Fix docker compose command using the slimmed docker image (#2351)
Fixing the docker command based on `docker compose [-f <arg>...]
[options] [COMMAND] [ARGS...]` format on the
[website](https://docs.docker.com/compose/reference/#command-options-overview-and-help).
Because the old command would give error: `unknown shorthand flag: 'f'
in -f`
2024-04-17 10:19:10 -03:00
CheariX
09006281ca
feat: vscode devcontainer (#2335)
I added a [Remote Development
Containers](https://code.visualstudio.com/docs/devcontainers/tutorial)
in Visual Studio Code (VSCode).

Lots of people like to develop in Containers to have a clean system.
With this PR, it is possible to work with al-folio without any
installation (except for VS Code, its Remote Dev Container extension,
and Docker).

Once you've opened the `al-folio` repository, a prompt will appear
requesting to reopen the project within a container.

<img width="541" alt="grafik"
src="https://github.com/alshedivat/al-folio/assets/1998723/2963446f-8e42-4df1-9e8c-22691d78b7e4">

Upon doing so, Jekyll will automatically start within the container and
prompt you to open the website's preview sidebar directly in VSCode or
using your Browser. Additionally, it installs extensions for `liquid`
and Prettier (`npx prettier`). Files are formatted using
`al-folios`-prettier settings (`.prettierrc`) to streamline pull request
submission.

Additionally, the performance seems to be much better compared to the
`docker-compose`setup, see #2333.

---------

Co-authored-by: George <31376482+george-gca@users.noreply.github.com>
2024-04-16 10:57:03 -03:00
Maria Teleki
0e1a1e3203
Update INSTALL.md (#2285)
Added a step to the "Recommended Approach" telling the user to wait for
the GitHub Actions to be completed so that the gh-pages branch can be
created.
2024-03-18 23:27:55 -03:00
George
6cf110a682
Update INSTALL.md 2024-03-13 11:28:17 -03:00
George
eddef2e4ff
Make clear that you should not touch gh-pages branch 2024-03-13 11:24:17 -03:00
Sasika Amarasinghe
8cacee6ffc
Update INSTALL.md (#2237)
Added "Recommended Approach" as a subheading which was not under
Installing , but was in the contents section.
2024-02-29 15:05:36 -03:00
George
70ad4ceb42
Emphasized more how the name of the repository must be 2024-02-26 17:32:50 -03:00
George
392720066e
Added diff tools to INSTALL.md 2024-01-22 12:37:25 -03:00
Amir Pourmand
7c617d8076
Update INSTALL.md (#2091)
- #2090
2024-01-19 20:41:43 +03:30
George
04f7b041a1
Changed conditions of running GitHub actions (#2082)
The GitHub actions were running everytime a new commit was made to the
repo, but that wasn't needed. For example, we don't need to try to
create a new docker image if the libraries didn't change, same to build
the whole site after a change in the README.md.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-19 11:11:18 -03:00
George
8d8298a945
Update INSTALL.md version of al-folio 2024-01-16 20:04:04 -03:00
George
71f054c82e
Fix broken links (#2077)
Added GitHub action to check for broken links in repo before commit,
ignoring files with liquid tags since these were not yet processed and
also README since some sites created from this template doesn't have
valid urls anymore. Fixed some broken links in repo.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-15 11:09:45 -03:00
Maruan
beb6f27d59
format code with prettier.io (#2048)
summary:
- adds prettier formatter configuration
- formats the entire repo using prettier, ignoring minified files
(`*.min.css`) and heavy generated html
- changes extensions of all `.html` files to `.liquid`, which is more
correct and necessary for prettier to work correctly
- replaces "%-" and "-%" with just "%" — manual liquid formatting using
minus signs is superfluous since we are compressing and minifying the
code anyway
- adds CI action for running prettier check on PR and pushes to master
2024-01-10 00:10:51 -05:00
George
4ea7f5ba57
Add direct link to use this template 2024-01-09 13:18:40 -03:00
George
7b0ca12a78
Added information about using wsl on Windows (#2040)
Signed-off-by: George Araujo <george.gcac@gmail.com>
2024-01-02 22:51:42 -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