Skip to content

Commit

Permalink
Update Just the Docs version from 0.6.2 to 0.7.0 (#39)
Browse files Browse the repository at this point in the history
* Moved nav_custom.html under components folder

* Updated just the docs version

* Changed nav_custom.html to nav.html

* Updated head.html

* Returned nav_custom.html back to its previous folder

---------

Co-authored-by: Francis Earl Soriano Fojas/Server Solutions G /SRPH/Engineer/Samsung Electronics <[email protected]>
  • Loading branch information
fesfojas and Francis Earl Soriano Fojas/Server Solutions G /SRPH/Engineer/Samsung Electronics authored Nov 22, 2023
1 parent c904ff3 commit f5ebc9b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ source 'https://rubygems.org'
gem "jekyll", "~> 4.3.2" # installed by `gem jekyll`
# gem "webrick" # required when using Ruby >= 3 and Jekyll <= 4.2.2

gem "just-the-docs", "0.6.2" # pinned to the current release
gem "just-the-docs", "0.7.0" # pinned to the current release
# gem "just-the-docs" # always download the latest release

gem 'jekyll-multiple-languages-plugin'
Expand Down
8 changes: 6 additions & 2 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
site.search_enabled, site.static_files, site.favicon_ico.
Results in: HTML for the head element.
Includes:
head_nav.html, head_custom.html.
css/activation.scss.liquid, head_custom.html.
Overwrites:
ga_tracking_ids, ga_property, file, favicon.
Should not be cached, because included files depend on page.
Expand All @@ -16,7 +16,11 @@

<link rel="stylesheet" href="{{ '/assets/css/just-the-docs-default.css' | relative_url }}">

{% include head_nav.html %}
<link rel="stylesheet" href="{{ '/assets/css/just-the-docs-head-nav.css' | relative_url }}" id="jtd-head-nav-stylesheet">

<style id="jtd-nav-activation">
{% include css/activation.scss.liquid %}
</style>

{% if site.ga_tracking != nil %}
{% assign ga_tracking_ids = site.ga_tracking | split: "," %}
Expand Down

0 comments on commit f5ebc9b

Please sign in to comment.