80241500a9
Bumps [rexml](https://github.com/ruby/rexml) from 3.3.6 to 3.3.9. - [Release notes](https://github.com/ruby/rexml/releases) - [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md) - [Commits](https://github.com/ruby/rexml/compare/v3.3.6...v3.3.9) --- updated-dependencies: - dependency-name: rexml dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
---|---|---|
.github | ||
_data | ||
_includes | ||
_layouts | ||
_posts | ||
api | ||
archived | ||
assets | ||
community | ||
docs | ||
download | ||
files | ||
images | ||
news | ||
.gitignore | ||
.markdownlint.json | ||
404.html | ||
CNAME | ||
CODE-OF-CONDUCT.md | ||
CONTRIBUTING.md | ||
Dockerfile | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE | ||
README.md | ||
_config.yml | ||
favicon.ico | ||
index.html | ||
markdownlint-config.rb |
README.md
Mono Project Website
This repository contains the files used for generating the Mono website.
The site uses Jekyll, a static site generator. GitHub Pages, where the site is hosted, natively supports Jekyll so every time someone pushes to this repository, the website will be built and updated. For hosting it yourself, see Setting up a local copy of the website.
Contributing to the website
Note: Major issues or feature requests should be filed on the issue tracker first, so we can discuss the implications.
If you want to edit a page, the easiest way is to click the link under the page title on the website.
This will open the source file on GitHub where you can click the pencil button to start editing:
GitHub's editor shows you both the Markdown source as well as a preview of the rendered page:
After you've finished your changes, enter a proper summary and description and click the "Propose file change" button to open a pull request:
Setting up a local copy of the website
For larger changes, using the web-based editor on GitHub is not really convenient. A better way is to setup a local copy of the website where you can experiment.
Dependencies
- Ruby - Jekyll is written in Ruby
- Bundler - a package manager for Ruby. Install it by running
gem install bundler
After you've forked and cloned the repository, run the following commands:
bundle install
- downloads the required librariesbundle exec jekyll serve
- builds the website and runs a local webserver on port 4000
Note: you can add the --watch
option when running jekyll serve
to let Jekyll watch for file changes, which means the site will be rebuilt when a file is modified.
Note 2: on case-insensitive file systems like on Windows and macOS you'll run into redirect loops for some URLs. The workaround is to disable redirects locally by removing the plugins: jekyll-redirect-from
entry from _config.yml
.
The site should now be running locally:
Repository structure
_includes
- special folder contains snippets that can be included via{% include file.html %}
in other pages_layouts
- special folder contains the layouts that are shared between pages. Layouts can be inherited, the root layout isbase.html
._posts
- special folder, contains the source pages for the blog section, see Writing a blog post_site
- the output of the generated site is stored here by default, this folder only exists after Jekyll built the sitearchived
- content that is no longer relevant but kept to keep external links workingcommunity
- contains the source pages for the/community
website sectioncss
- contains the main stylesheetdocs
- contains the source pages for the/docs
website sectiondownload
- contains the source pages for the/download
website sectionfiles
- stores binary files used in pagesimages
- stores the images used in pagesnews
- lists the blog pages from the_posts
directory
Writing a blog post
Blogging is very easy with Jekyll. Browse to _posts
directory, copy the Markdown file _TEMPLATE.md
and rename that file following the file name convention: YEAR-MONTH-DAY-title.md
. Then open the file you renamed and follow the steps there to complete writing a blog post.
Make sure to not include special characters in the file name. The blog entry's publishing date is automatically extracted from the file name.