Skip to content

Commit

Permalink
Deleted Android app resources (openhab#1223)
Browse files Browse the repository at this point in the history
It appears some of the images related to the Android app
are actually maintained in the app's repo rather than here.

A more thorough clean-up of the `addons` folder should probably
be done at some point!

Remove android app page (gathered from external repo) and
replace it with a placeholder.

Signed-off-by: Yannick Schaus <[email protected]>
  • Loading branch information
ghys authored May 10, 2020
1 parent f8dd370 commit eda6384
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 73 deletions.
18 changes: 10 additions & 8 deletions .vuepress/add_placeholders.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,25 @@
def add_placeholder_pages()
puts ">>> Adding placeholder pages for preview"
[
"docs/concepts",
"docs/configuration/iconsets/classic",
"docs/configuration/ui/habmin",
"docs/configuration/ui/habot",
"docs/configuration/ui/basic",
"docs/configuration/ui/basic",
"docs/configuration/ui/classic",
"docs/ecosystem/alexa",
"docs/ecosystem/google-assistant",
"docs/ecosystem/ifttt",
"docs/ecosystem/ifttt",
"docs/ecosystem/mycroft",
"addons/integrations/homekit"
].each { |dir|
puts " -> #{dir}/"
FileUtils.mkdir_p(dir)
File.open("#{dir}/readme.md", "w+") { |f|
"addons/integrations/homekit",
"docs/apps/android.md"
].each { |path|
puts " -> #{path}"
page = path
if (!(path =~ /\.md/)) then
FileUtils.mkdir_p(path)
page = path + "/readme.md"
end
File.open(page, "w+") { |f|
f.puts "# This content is unavailable"
f.puts ""
f.puts "This content is migrated from another repository, and is not included in this preview."
Expand Down
2 changes: 1 addition & 1 deletion .vuepress/docs-sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ module.exports = [
'configuration/rules-ng',
'configuration/eclipseiotmarket',
['configuration/restdocs', 'REST API'],
'apps/android',
['apps/android', 'Android App'],
'apps/ios',
'apps/windows',
['ecosystem/alexa/', 'Amazon Alexa'],
Expand Down
64 changes: 0 additions & 64 deletions addons/uis/apps/android.md

This file was deleted.

Binary file removed addons/uis/apps/images/en_badge_web_generic.png
Binary file not shown.
Binary file removed addons/uis/apps/images/get-it-on-fdroid.png
Binary file not shown.
Binary file removed addons/uis/apps/images/main-menu.png
Binary file not shown.
Binary file removed addons/uis/apps/images/widget-overview.png
Binary file not shown.

0 comments on commit eda6384

Please sign in to comment.