diff --git a/README.md b/README.md index 4cac2d9e85..bfd02681d3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # [railsdoc.github.io](https://railsdoc.github.io/) -[![Build Status](https://travis-ci.com/railsdoc/railsdoc.github.io.svg?branch=main)](https://travis-ci.com/railsdoc/railsdoc.github.io) +[![CI](https://github.com/railsdoc/railsdoc.github.io/actions/workflows/ci.yml/badge.svg)](https://github.com/railsdoc/railsdoc.github.io/actions/workflows/ci.yml) [![Netlify Status](https://api.netlify.com/api/v1/badges/c964029a-6d5a-4f3a-95e9-d35830a2fe83/deploy-status)](https://app.netlify.com/sites/railsdoc-preview/deploys) railsdoc.github.io is yet another Rails API documentation website. diff --git a/src/_layouts/default.html b/src/_layouts/default.html index f07a1d6429..862592e608 100644 --- a/src/_layouts/default.html +++ b/src/_layouts/default.html @@ -5,7 +5,7 @@ - + @@ -58,9 +58,9 @@ - - - + + + diff --git a/src/assets/js/app.js b/src/assets/js/app.js index 1e1d19aaa3..b90ac0b2a6 100644 --- a/src/assets/js/app.js +++ b/src/assets/js/app.js @@ -4,7 +4,7 @@ $(() => { anchors.add(); // highlight.js - hljs.initHighlighting(); + hljs.highlightAll(); $(".sidebar-sticky .icon").on("click", function (e) { $(this).siblings("ul").toggle();