Skip to content

Commit

Permalink
fix: Fix medium width layout (#174)
Browse files Browse the repository at this point in the history
* fix: Fix medium width layout

- col-md-3
- col-md-2
- col-md-7

The sum should be 12 (3+2+7).

* Update LICENSE and README

* ci: Fix `RUBY_YJIT_ENABLE` value

* fix: Fix typo
  • Loading branch information
toshimaru authored Nov 24, 2024
1 parent 42b12a6 commit ea7c0a1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
runs-on: ubuntu-latest
name: Rails Doc Build (older versions)
env:
RUBY_YJIT_ENABLE: ${{ matrix.yjit-enabled }}
RUBY_YJIT_ENABLE: 1
strategy:
matrix:
include:
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019
Copyright (c) 2019-2024

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,16 @@ The project goal is **making [api.rubyonrails.org](https://api.rubyonrails.org/)

### Additional Goals

Thare are some enhancements in addition to SEO.
There are some enhancements in addition to SEO.

- [x] Built by [Jekyll](https://github.com/jekyll/jekyll)
- [x] Styled by [bootstrap(v4)](https://github.com/twbs/bootstrap)
- [x] No iframe layout
- [x] Table of Contents
- [x] Google Custom Search
- [x] Multiple version documentation
- [ ] Mobile-friendly design
- [ ] Multiple version documentation
- [ ] Comment System
- [ ] etc. (see. https://github.com/railsdoc/railsdoc.github.io/issues)

## Feature Request
Expand Down
4 changes: 2 additions & 2 deletions src/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@
</div>
</nav>

<div class="col-12 col-md-3 col-xl-2 toc-content-sticky">
<div class="col-12 col-md-2 col-xl-2 toc-content-sticky">
<div class="toc-content">{% toc %}</div>
</div>

<main role="main" class="col-12 col-md-9 col-xl-8 py-md-3 pl-md-4">
<main role="main" class="col-12 col-md-7 col-xl-8 py-md-3 pl-md-4">
{{ content }}
<footer class="site-footer">
<!-- <span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span> -->
Expand Down

0 comments on commit ea7c0a1

Please sign in to comment.