-
-
Notifications
You must be signed in to change notification settings - Fork 1
Root Files Overview
thomasthaddeus edited this page Dec 8, 2023
·
1 revision
- The
CHANGELOG.md
file is used to keep track of all the changes made to the project over time. This includes new features, bug fixes, performance improvements, and any other significant alterations.
- Update this file every time you make a change to the project that users should know about.
- Follow a consistent format (like Keep a Changelog) for readability and clarity.
- Include the version number and release date for each set of changes.
- The
Gemfile
is a Ruby file used to define the gem dependencies for your Jekyll project. It specifies which gems and versions are required to build and run your site. - The
Gemfile.lock
file is automatically generated and lists all the dependencies specified in yourGemfile
, along with their exact versions. It ensures consistent gem versions across different environments.
- To add a new gem, include it in the
Gemfile
and runbundle install
. This will updateGemfile.lock
. - Commit
Gemfile.lock
to your version control to ensure consistency across different development environments. - Regularly update your gems with
bundle update
and test your site to catch any compatibility issues.
- The
LICENSE
file contains the licensing information for your project. It specifies how others can use, modify, and distribute your project.
- Choose an appropriate license based on how you want your project to be used. Common licenses for open-source projects include MIT, Apache, and GPL.
- Clearly state any restrictions or obligations that come with using your project.
- The
README.md
file serves as the first point of documentation for anyone who encounters your project. It provides an overview of what the project is, how to set it up, how to use it, and how to contribute.
- Include a project title and a brief description.
- Provide instructions for setting up and running the project.
- Document any prerequisites or dependencies.
- Guide on how to contribute to the project, if applicable.
- Contact information or links to further documentation.
- The
_config.yml
file is the main configuration file for a Jekyll site. It includes settings for the Jekyll build process, site variables, and more.
- Define global variables like
title
,email
,description
,baseurl
, etc. - Configure build settings such as markdown processor, permalink structure, and pagination.
- Add custom configurations as needed for your specific Jekyll plugins or themes.
- Avoid storing sensitive data like passwords or API keys directly in this file.