Skip to content

Commit

Permalink
remove documentation from index.ros.org search index and presentation (
Browse files Browse the repository at this point in the history
…#258)

* remove documentation from index.ros.org search index and presentation

* remove ros2_documentation from remotes and doc generators

Signed-off-by: Tully Foote <[email protected]>
  • Loading branch information
tfoote authored Jan 4, 2024
1 parent 30086f3 commit 628e6e9
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 316 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 @@ -8,8 +8,3 @@ repositories:
type: git
url: https://github.com/ros/rosdistro.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
1 change: 0 additions & 1 deletion _layouts/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ <h4>No related system dependencies found.</h4>
</script>
{% endraw %}


<script src="{{site.baseurl}}/js/lunr.min.js" type="text/javascript" charset="utf-8"></script>
<script src="{{site.baseurl}}/js/mustache.js" type="text/javascript" charset="utf-8"></script>
<script src="{{site.baseurl}}/js/pagination.js" type="text/javascript" charset="utf-8"></script>
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 @@ -12,9 +12,3 @@ keep_files: [cache, .git]
# Sources
rosdep_path: _remotes/rosdep
rosdistro_paths: [_remotes/rosdistro]

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

0 comments on commit 628e6e9

Please sign in to comment.