All notable changes to the Do-It website will be documented in this file
- Added the
citationpaired shortcode to generate a stylish citation block. - Added a dark mode to the website to make it easier on the eyes at night.
- Added meta tags and other SEO improvements to the website to improve its visibility on search engines.
- Added an auto generated sitemap to help search engines index the website.
- Reformat existing shortcodes to fix a improper syntax issue
- Merged the compliance check into the build workflow (as a preliminary step) to avoid redundant pulls
- Replaced
résuméwithdescriptionin the markdown files to avoid non-ASCII characters
- Replace the "
compliance checkdirectory by a separate submodule
- Added autofocus on the
pagefindinput to make it easier to search for a page. - GitHub action dedicated to the compliance check of the website before pushing to the repository.
- Added timers to the build process to measure the time taken by each step.
- Fixed a visual issue with sidebars in screen between 1536px and 1616px
- Updated a few dependencies to their latest versions
- Renamed shortcodes to camelCase (lieninterne -> lienInterne, currentyear -> currentYear)
- Upgraded the
init-studentscript- Use git sdk to avoid the use of raw git commands
- Use concurrent requests to speed up the process
- Using templates files instead of raw variables for the default student files
- Upgraded the
init-promotionscript- Use git sdk to avoid the use of raw git commands
- Use concurrent requests to speed up the process
- Using the octokit library to interact with the GitHub API to automatically create all required resources
- Using templates files instead of raw variables for the default promo files
- Removed
markdown-it-attrsplugin as it was not used and causing useless warnings
- New GitHub action to automatically build and publish the website image to the GitHub Container Registry when pushing to the
mainbranch with a tag.
- Upgraded TailwindCSS from version 3 to version 4 to benefit from the new features, bug fixes and x1000 performance improvements.
- Fixed
client_max_body_sizein the nginx configuration to allow larger payloads to be sent to the server. (To accept the update payload from github webhook) - Upgraded the auto update cronjob on the container
- Gzip compression is now enabled on production buildon the server to reduce the size of the files sent to the client.
- Containerized the website using Docker to make it easier to deploy and maintain. The image is in the GitHub Container Registry.
- Upgraded and optimized nginx configuration to improve the performance of the website.
- Pagefind is now only created for the production build to reduce the build time.
- Added prism.js plugins:
line-numbers,copy-to-clipboard,toolbar,show-language,normalize-whitespace - Added courses to the cs directory and made it a submodule.
- Added a sidebar navigation to the courses to make it easier to discover the courses.
- Added
markdown-it-toc-done-rightplugin to generate a table of contents for the markdown files. - Added a
sommairepaired shortcode to generate a table of contents for the markdown files. - Added a
sizedImagesingle shortcode to generate an image with a specific size.
- Compliance checks make sure that your changes comply with the guidelines before pushing. Bad practices are no longer allowed.
- Multiple helper scripts were added to help with the addition of new promotions and students.
- Added multiple optimizing script that were added to help with the migration of the images.
- Build time rewrite of the media URLs (images, videos, etc.) to use the GitHub raw URL instead of the local path.
- Minifying the HTML output using
html-minifier-terserto reduce the size of the files.
- Added auto contributions script to automate the process of adding contributors to the promotion README files.
- Added a new
CONTRIBUTING.mdfile to help new contributors understand the guidelines and the workflow. - A new
CHANGELOG.mdfile was added to document all the changes made to the website.
- The website is now hosted on aioli at https://do-it.aioli.ec-m.fr/.
- Auto update of server when pushing to build (gh-pages) branch.
- Now using git submodules to manage the promotion repositories.
- Uniformity in the codebase was achieved using better templates.
- Forced file structure compliance and conventions to former students and promotions.
- Moved most of the scripts to the
scripts/directory to make the root directory cleaner. - Updated the GitHub workflows to force compliance checks before pushing to the repository.
- Simplified many templates and macros to make them more readable and maintainable.
- Frontend modules are no longer imported from local files, but from CDNs (only jsDelivr for now, there is no fallback).
- Tailwind CSS now outputs a minified CSS file (it was not minified before).
- Sort the node dependencies in the
package.jsonfile, a lot of them were unecessarely in the dependencies instead of devDependencies.
- Revisited the
README.mdfile to make it more informative and user-friendly, as it was outdated. - Revisited the
contribuer-au-site.mdfile to update to current guidelines and workflow. It was outdated. - Moved the
contribuer-au-site.mdfile to/contribuerwhich is now directly accessible from the website homepage.
- Nothing other than HTML, CSS, and JS are present in the output directory. That means you have to reference the images and other assets using absolute URLs. (The rewrite is done at build time automatically)
- Updated the Eleventy version to 3.0.0 to benefit from the new features and bug fixes.