Skip to content

Commit

Permalink
Pr update versions (#418)
Browse files Browse the repository at this point in the history
* Update Gemfile.lock, requires switching to kramdown for md

* Remove unused vuvuzela

* Also remove redcarpet from Gemfile*

* Add missing quotes in href tags, otherwise fails in updated Gems

* Force Pandoc to return UTF8
  • Loading branch information
rkent authored Sep 24, 2024
1 parent 0648dd9 commit c3694da
Show file tree
Hide file tree
Showing 7 changed files with 71 additions and 71 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@ gem 'mercurial-ruby'
gem 'nokogiri'
gem 'pandoc-ruby'
gem 'pygments.rb'
gem 'redcarpet'
gem 'rugged'
gem 'typhoeus'
118 changes: 64 additions & 54 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,95 +1,105 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
awesome_print (1.8.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
awesome_print (1.9.2)
colorator (1.1.0)
concurrent-ruby (1.1.4)
em-websocket (0.5.1)
concurrent-ruby (1.3.3)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
ethon (0.11.0)
ffi (>= 1.3.0)
http_parser.rb (~> 0)
ethon (0.16.0)
ffi (>= 1.15.0)
eventmachine (1.2.7)
ffi (1.10.0)
ffi (1.17.0)
forwardable-extended (2.6.0)
github-markup (3.0.2)
http_parser.rb (0.6.0)
i18n (0.9.5)
github-markup (4.0.2)
google-protobuf (3.25.3-x86_64-linux)
http_parser.rb (0.8.0)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
jekyll (3.8.5)
jekyll (4.3.3)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 0.7)
jekyll-sass-converter (~> 1.0)
i18n (~> 1.0)
jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-watch (~> 2.0)
kramdown (~> 1.14)
kramdown (~> 2.3, >= 2.3.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.3.3)
mercenary (>= 0.3.6, < 0.5)
pathutil (~> 0.9)
rouge (>= 1.7, < 4)
rouge (>= 3.0, < 5.0)
safe_yaml (~> 1.0)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
jekyll-sitemap (1.2.0)
jekyll (~> 3.3)
jekyll-watch (2.1.2)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
jekyll-include-cache (0.2.1)
jekyll (>= 3.7, < 5.0)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (1.17.0)
liquid (4.0.1)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
mercenary (0.3.6)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
mercurial-ruby (0.7.12)
open4 (~> 1.3.0)
mini_portile2 (2.4.0)
multi_json (1.13.1)
nokogiri (1.10.0)
mini_portile2 (~> 2.4.0)
nokogiri (1.15.6-x86_64-linux)
racc (~> 1.4)
open4 (1.3.4)
pandoc-ruby (2.0.2)
pandoc-ruby (2.1.10)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (3.0.3)
pygments.rb (1.2.1)
multi_json (>= 1.0.0)
rb-fsevent (0.10.3)
rb-inotify (0.10.0)
public_suffix (5.1.1)
pygments.rb (3.0.0)
racc (1.8.0)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
redcarpet (3.4.0)
rouge (3.3.0)
ruby_dep (1.5.0)
rugged (0.27.7)
safe_yaml (1.0.4)
sass (3.7.3)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
typhoeus (1.3.1)
rexml (3.3.2)
strscan
rouge (4.3.0)
rugged (1.7.2)
safe_yaml (1.0.5)
sass-embedded (1.63.6)
google-protobuf (~> 3.23)
rake (>= 13.0.0)
strscan (3.1.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
typhoeus (1.4.1)
ethon (>= 0.9.0)
unicode-display_width (2.5.0)
webrick (1.8.1)

PLATFORMS
ruby
x86_64-linux

DEPENDENCIES
awesome_print
colorator
github-markup
jekyll
jekyll-include-cache
jekyll-sitemap
liquid
mercurial-ruby
nokogiri
pandoc-ruby
pygments.rb
redcarpet
rugged
typhoeus

BUNDLED WITH
2.0.2
2.4.22
11 changes: 1 addition & 10 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build settings
markdown: redcarpet
markdown: kramdown
kramdown:
# use Github Flavored Markdown
input: GFM
Expand All @@ -11,15 +11,6 @@ profile: true

google_analytics_tag_id: 'G-EVD5Z6G6NH'

redcarpet:
extensions:
- fenced_code_blocks
- autolink
- no_intra_emphasis
- with_toc_data
- html_toc
- tables

# OLD from jekyll 2.x
#highlighter: pygments

Expand Down
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<link rel="stylesheet" type="text/css" href="{{ site.baseurl}}/bootstrap/css/bootstrap.min.css"/>
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
{% comment %}<link rel="stylesheet" type="text/css" media="screen" href={{ "/css/toc.css" | prepend: site.baseurl}}>{% endcomment %}
{% comment %}<link rel="stylesheet" type="text/css" media="screen" href="{{ "/css/toc.css" | prepend: site.baseurl}}">{% endcomment %}

{% if page.script_uris %}
{% for script_uri in page.script_uris %}
Expand Down
3 changes: 2 additions & 1 deletion _ruby_libs/text_rendering.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
# Converts RST to Markdown
def rst_to_md(rst)
begin
return PandocRuby.convert(rst, :from => :rst, :to => :markdown)
# For some reason, Pandoc is converting UTF-8 into ASCII which then kills kramdown
return PandocRuby.convert(rst, :from => :rst, :to => :markdown).force_encoding(Encoding::UTF_8)
rescue Exception => e
return "Could not convert RST to MD: "+e.to_s
end
Expand Down
4 changes: 2 additions & 2 deletions contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ responsibility if you add your repository to `rosdistro`.
If you would like you get your code indexed for documentation, click the
button below.

<a type="button" href={{ "/contribute/add_repo" | prepend: site.baseurl }} class="btn btn-success">Add a Repository to the Index</a>
<a type="button" href="{{ "/contribute/add_repo" | prepend: site.baseurl }}" class="btn btn-success">Add a Repository to the Index</a>

### Releasing Binary Packages

Expand Down Expand Up @@ -65,7 +65,7 @@ or by reviewing the contributions proposed or submitted by others as <em>pull re
If you would like some suggestions where your help may be welcomed,
click the button below.

<a type="button" href={{ "/contribute/suggestions" | prepend: site.baseurl }} class="btn btn-success">Contribution Suggestions</a>
<a type="button" href="{{ "/contribute/suggestions" | prepend: site.baseurl }}" class="btn btn-success">Contribution Suggestions</a>

## Opting out of Indexing

Expand Down
3 changes: 1 addition & 2 deletions node_modules/lunr-index-build/bin/lunr-index-build

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c3694da

Please sign in to comment.