Skip to content

Commit

Permalink
remove ros2_documentation from remotes and doc generators
Browse files Browse the repository at this point in the history
Signed-off-by: Tully Foote <[email protected]>
  • Loading branch information
tfoote committed Jan 2, 2024
1 parent 7b06daf commit ca01d46
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 308 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
_cache
_sphinx
_remotes
_plugins_data
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@ _roswiki
_cache
_remotes
_plugins_data
_sphinx/_build
_sphinx/repos
5 changes: 0 additions & 5 deletions _data/remotes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,3 @@ repositories:
type: git
url: https://github.com/rosindex/rosforks.git
version: master
# List of all non-package specific documentation repositories.
ros2:
type: git
url: https://github.com/ros2/ros2_documentation.git
version: master
1 change: 0 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

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

{% if page.script_uris %}
Expand Down
221 changes: 0 additions & 221 deletions _plugins/docs_generator.rb

This file was deleted.

38 changes: 0 additions & 38 deletions _ruby_libs/pages.rb
Original file line number Diff line number Diff line change
Expand Up @@ -179,44 +179,6 @@ def initialize(site, sort_id, n_list_pages, page_index, list, default=false)
end
end

class DocPage < Jekyll::Page
def initialize(site, parent_page, path, data)
@site = site
@base = site.source
@dir = "#{path}"
@name = "index.html"
self.process(@name)
self.data ||= {}
self.content = data['body']
self.data['layout'] = "doc"
self.data['title'] = data['title']
self.data['edit_url'] = data['edit_url']
self.data['indexed'] = data['indexed_page']
self.data['canonical_url'] = data['canonical_url']
self.data['css_uris'] = data['css_uris']
self.data['script_uris'] = data['script_uris']

self.data['child_pages'] = []
self.data['indexed_child_pages'] = []
self.data['ancestor_pages'] = []
self.data['root_page'] = self
if not parent_page.nil?
self.data['ancestor_pages'] =
parent_page.data['ancestor_pages'] + [parent_page]
self.data['root_page'] = parent_page.data['root_page']
parent_page.add_child_page(self)
end
end

def add_child_page(page)
self.data['child_pages'] << page
if page.data['indexed']
self.data['indexed_child_pages'] << page
end
end

end

class PackagePage < Jekyll::Page
def initialize(site, package_instances)
@site = site
Expand Down
31 changes: 0 additions & 31 deletions css/sphinx.css

This file was deleted.

3 changes: 0 additions & 3 deletions docker/image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,13 @@ RUN apt-get update && \
openssl \
pandoc \
pkg-config \
python3-pip \
python3-vcstool \
ruby \
ruby-dev \
rubygems-integration && \
rm -rf /var/lib/apt/lists/*

RUN gem install bundle
RUN pip3 install --upgrade setuptools pip
RUN pip3 install sphinx sphinx-reredirects gitpython

RUN ln -s `which nodejs` /usr/local/bin/node

Expand Down
6 changes: 0 additions & 6 deletions index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,3 @@ rosdep_path: _remotes/rosdep
rosdistro_paths: [_remotes/rosdistro]
repos_path: _remotes/rosforks/repos
attic_file: _remotes/rosforks/attic.yaml

# Indicates which of the repositories tracked in remotes.yml
# correspond to documentation repos.
docs_repos:
ros2:
description: "ROS 2 Overview"

0 comments on commit ca01d46

Please sign in to comment.