Commit Graph

674 Commits

Author SHA1 Message Date
George a7d6b37d8f
Added support for Chart.js (#2126)
Solved #460.


![image](https://github.com/alshedivat/al-folio/assets/31376482/ce65dbe2-031e-4208-b374-08ec89beaaca)

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-26 02:16:14 -03:00
github-actions[bot] 1d84621f22 Lighthouse-Badger[bot]: Results Added 2024-01-23 16:11:18 +00:00
George 7638547a49
Updated checkout step in lighthouse-badger.yml 2024-01-23 13:08:48 -03:00
George 0c082372ba
Fixed urls in 1_bug_report.yml 2024-01-23 12:54:41 -03:00
George c99a453a87
Fixed urls in 2_feature_request.yml 2024-01-23 12:54:29 -03:00
George 7d861cbd52
Fixed url in config.yml 2024-01-23 12:54:14 -03:00
George fc2386014a
Updated links in issue template config.yml 2024-01-23 12:49:16 -03:00
George 6fcc28332c
Updated links in 2_feature_request.yml 2024-01-23 12:48:52 -03:00
George 2fa8141f22
Updated links in 1_bug_report.yml 2024-01-23 12:48:15 -03:00
George b0b19a1293
Removed 0 from bug report 2024-01-23 12:12:16 -03:00
George ec9571a8c1
Improved issues templates (#2110)
Since a lot of issues opened are just questions that should be opened as
so, and sometimes the issue template is just not followed, I decided to
make opening new issues a little more "enforced", if not clear.

I based the new templates on the ones from [pytorch
lightning](https://github.com/Lightning-AI/pytorch-lightning/issues/new/choose),
which I think are pretty good. The visuals will only appear after the
merge is processed, but you can have an idea of how it will look like by
checking their templates and how they look.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-23 12:10:03 -03:00
George 8dd678cdb1
Added lighthouse_results to .prettierignore 2024-01-23 12:05:06 -03:00
Fares Abawi 10507a882b
Added anchor to category sections (#2006)
Added anchor to categories so one could navigate to the category section
from the URL:

e.g.,

https://alshedivat.github.io/al-folio/projects#fun
2024-01-23 11:50:58 -03:00
George 25eac655ba
Fixed lighthouse html viewer links 2024-01-23 10:41:46 -03:00
github-actions[bot] 0510031305 Lighthouse-Badger[bot]: Results Added 2024-01-23 13:36:10 +00:00
George b83a0e38c4
Added Lighthouse test GitHub action (#2084)
Added support for Lighthouse test as a GitHub action, and it appears
like
[this](https://github.com/george-gca/multi-language-al-folio?tab=readme-ov-file#lighthouse-pagespeed-insights).
The only thing missing is for @alshedivat to create a [repository
secret](https://github.com/MyActionWay/lighthouse-badger-workflows#lighthouse-badger-easyyml)
named `LIGHTHOUSE_BADGER_TOKEN` with the information needed.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-23 10:35:13 -03:00
George db0a92b8d4
Moved prettier comment on PR to its own action (#2114)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-22 18:01:55 -03:00
George bbaae0afa9
Fixed prettier actions (#2113)
After some thorough testing, finally made prettier on PR work. Since an
html file can't be used as comment on GitHub, changed to simply point to
the action that failed and to the file containing the html diff.

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-22 17:45:34 -03:00
George 27d2fa093d
Changed how prettier comments on PR works (#2112)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-22 14:49:34 -03:00
George 7ed8f49e72
Update prettier-on-pr.yml permissions 2024-01-22 13:40:33 -03:00
George 8af6b73fd6
Prettier check now generates a diff comment on PR (#2085)
Splitted prettier GitHub action into two:
- `on push`, only runs on direct pushes, if test fails generates an
artifact (that lasts for 3 days) with an html version of the changes
needed to pass prettier test
- `on PR`, only runs on PRs, if test fails comments on the PR with the
HTML content of the diff

I couldn't actually test the `on PR` version since it needs to be on a
PR in the master branch, so this will only be triggered after this PR is
accepted, and for the next PR that fails prettier test.

PS: currently the artifact is a zip file with the html inside. It is not
currently possible to generate it other way, we have to wait for [this
issue](https://github.com/actions/upload-artifact/issues/14) to be
closed.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-22 13:30:24 -03:00
George 392720066e
Added diff tools to INSTALL.md 2024-01-22 12:37:25 -03:00
George 65c5c8a056
Added acknowledge section to feature_request.md 2024-01-22 11:11:48 -03:00
Jona Ruthardt 30f7ab0f11
Added one more researcher using al-folio (#2105)
Added my own website as a star to the "Academics" section
2024-01-21 13:43:13 -03:00
George 711af76a08
Fixed dark mode not working after purgecss 2024-01-20 13:52:33 -03:00
Amir Pourmand 7c617d8076
Update INSTALL.md (#2091)
- #2090
2024-01-19 20:41:43 +03:30
George 67000003fa
Downgrade ruby version (#2098)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-19 11:45:19 -03:00
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
Afrânio Melo 1d4a8c742b
Adding star (#2095)
Thank you all!!!
2024-01-18 13:17:20 -03:00
George 8d8298a945
Update INSTALL.md version of al-folio 2024-01-16 20:04:04 -03:00
George a843b3c6fe
Updated toc on README.md 2024-01-16 18:37:08 -03:00
George 3aa31333b1
Added star history to README.md 2024-01-16 18:33:02 -03:00
George c5190617ea
Update contributing on README.md 2024-01-16 18:28:11 -03:00
George cfe13d6a43
Added missing separator in README 2024-01-16 18:07:26 -03:00
George f669b23136
Fixed role main in default.liquid 2024-01-15 17:40:33 -03:00
George 1775a9a99d
Axe accessibility test support (#2080)
Added GitHub action to do axe accessibility tests with [axe
cli](https://github.com/dequelabs/axe-core-npm/tree/develop/packages/cli).
I believe it is best by default to let this be run only manually, since
fixing some of the issues are not straightforward (I haven't fixed them
all for this template yet).

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-15 16:38:31 -03:00
George 30f3c14465
Link checks on deploy (#2079)
Added another GitHub action to check for broken local links on version
of the site that will be deployed.

The `broken-links` action check for broken links considering
documentation files (like INSTALLING.md) and also pages like
[_pages/about.md](https://github.com/alshedivat/al-folio/blob/master/_pages/about.md),
but it can't check for broken links when the link will be handled by
jekyll tags (like in
[_pages/blog.md](https://github.com/alshedivat/al-folio/blob/master/_pages/blog.md).

With `broken-links-site` we can check if all the links that will be used
on the final site that refer to local files are correct. Focusing only
on local files since this would end up calling too many checks for
library files, like
`https://unpkg.com/bootstrap-table@1.22.1/dist/bootstrap-table.min.css`.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-15 16:38:06 -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
Yifan Jiang 0a737aa022
Fix custom blockquotes (#2071)
Fixed issue #2066. Removed `>` in front of `{: .block-tip }` which was
introduced by prettier in the example post.
2024-01-15 01:55:46 -05:00
George 5459ef19b8
Changed file paths in bug_report.md 2024-01-11 15:28:47 -03:00
George cc83a127c4
Fixed FAQ link in CONTRIBUTING.md 2024-01-11 15:08:18 -03:00
George 1a205362f1
Fixed missing changes to liquid file 2024-01-11 00:13:36 -03:00
Sam B 568e9cc8ba
Added additional user to README.md (#2063)
Added new user to academics section in readme. 

Thank you for this great resource!
2024-01-10 22:47:05 -03:00
Sam B aabe1e5aa6
Fixed small typo (#2064)
instalation -> installation

Thank you for this resource!
2024-01-10 22:44:32 -03:00
Maruan 982a5fe114
Update .git-blame-ignore-revs 2024-01-10 11:24:39 -05:00
George 2d34024961
Fix prettier (#2062)
Changed rule to minified files, reverted changes to minified files

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-10 11:21:58 -03:00
Maruan 7c279b159d
Move news and 404 to pages (#2060)
moves news and 404 from repo root dir to `_pages/` where they are
supposed to be + changes their extensions to `.md`
2024-01-10 01:59:59 -05:00
Maruan Al-Shedivat 7e8ca8f191 Add .git-blame-ignore-revs 2024-01-10 00:13:23 -05: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 60a09ed25c
Normalizing coauthor names before search (#2057)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-09 14:13:33 -03:00