Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove docs_generator #330

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
228 changes: 0 additions & 228 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"