Skip to content

Commit ea7c0a1

Browse files
authored
fix: Fix medium width layout (#174)
* 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
1 parent 42b12a6 commit ea7c0a1

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
runs-on: ubuntu-latest
5050
name: Rails Doc Build (older versions)
5151
env:
52-
RUBY_YJIT_ENABLE: ${{ matrix.yjit-enabled }}
52+
RUBY_YJIT_ENABLE: 1
5353
strategy:
5454
matrix:
5555
include:

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019
3+
Copyright (c) 2019-2024
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,16 @@ The project goal is **making [api.rubyonrails.org](https://api.rubyonrails.org/)
1212

1313
### Additional Goals
1414

15-
Thare are some enhancements in addition to SEO.
15+
There are some enhancements in addition to SEO.
1616

1717
- [x] Built by [Jekyll](https://github.com/jekyll/jekyll)
1818
- [x] Styled by [bootstrap(v4)](https://github.com/twbs/bootstrap)
1919
- [x] No iframe layout
2020
- [x] Table of Contents
2121
- [x] Google Custom Search
22+
- [x] Multiple version documentation
2223
- [ ] Mobile-friendly design
23-
- [ ] Multiple version documentation
24+
- [ ] Comment System
2425
- [ ] etc. (see. https://github.com/railsdoc/railsdoc.github.io/issues)
2526

2627
## Feature Request

src/_layouts/default.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@
5555
</div>
5656
</nav>
5757

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

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

0 commit comments

Comments
 (0)