diff --git a/README.md b/README.md index d3a3ccd1..82d62c94 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ Documentation ============= -The documentation is automatically generated when the main [`README.md`](../README.md) is changed on the `master` branch. +The documentation is automatically generated when the main [`README.md`](https://github.com/bgruening/docker-galaxy/blob/main/README.md) is changed on the `main` branch. -For information, this automatic generation uses the GitHub API (in [`bin/gfm2html`](bin/gfm2html)) and a [Python script](src/generate_html.py) to transform the markdown in the [`README.md`](../README.md) into the HTML files. -This generation is automatically launched by Travis-CI with [`bin/deploy_docs`](bin/deploy_docs) script. +For information, this automatic generation uses a [Python script](src/generate_docs.py) to transform the markdown in the `README.md` into the HTML files. +This generation is automatically launched by a [GitHub Action Workflow](https://github.com/bgruening/docker-galaxy/actions/workflows/update-site.yml). -So, if you see any error in the [online documentation](http://bgruening.github.io/docker-galaxy-stable), you can first check the [`README.md`](../README.md). If the error does not come from the [`README.md`](../README.md), you can either file an issue or check the [Python](src/generate_html.py) or the [bash](bin/gfm2html) scripts used to generate the HTML files. +So, if you see any error in the [online documentation](http://bgruening.github.io/docker-galaxy), you can first check the `README.md`. If the error does not come from the `README.md`, you can either file an issue or check the [Python](src/generate_docs.py) script used to generate the HTML files. diff --git a/auto-exec-tools-in-docker.html b/auto-exec-tools-in-docker.html index c5686aca..73203d9a 100644 --- a/auto-exec-tools-in-docker.html +++ b/auto-exec-tools-in-docker.html @@ -121,10 +121,11 @@
This is a very cool feature where Galaxy automatically detects that your tool has an associated docker image, pulls it and runs it for you. These images (when available) have been generated using
-
+
mulled
- . To test, install the
+ .
+To test, install the
IUC bedtools
diff --git a/bin/deploy_docs b/bin/deploy_docs
deleted file mode 100755
index 060bb477..00000000
--- a/bin/deploy_docs
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/env bash
-
-git config user.name "Travis-CI"
-git config user.email "noreply@travis-ci.org"
-git remote rm origin && git remote add origin https://bgruening:${GH_TOKEN}@github.com/bgruening/docker-galaxy-stable
-git fetch origin
-git checkout master
-./docs/bin/gfm2html README.md docs/
-git add docs/
-git commit -m "[ci skip] Update site on `date "+%Y-%m-%d %H:%M:%S"`"
-git push origin master
diff --git a/bin/gfm2html b/bin/gfm2html
deleted file mode 100755
index db293ab0..00000000
--- a/bin/gfm2html
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/bin/bash
-
-# Convert a Github Flavored Markdown Syntax file to HTML
-#
-# The MIT License (MIT)
-# Copyright © 2012 Evertton de Lima Docker Images tracking the stable Galaxy releases View the Project on GitHub bgruening/docker-galaxy-stable Table of contentGalaxy Docker Image
\n'
- string += ' \n'
- string += '
\n'
- string += ' ") != -1:
- html_structure[section_id] = {
- "name": section_name,
- "content": section_content,
- "subcontent": section_subcontent
- }
- section_order.append(section_id)
-
- if line.find("
Galaxy Docker Image
") != -1:
- section_id = "index"
- section_name = "Global description"
- else:
- section_id, section_name = extract_section_info(line)
- section_content = "" + section_name + "
\n"
-
- if section_id == "index":
- section_content += html_structure["header"]["content"]
-
- section_subcontent = []
- else:
- line = line.replace('[toc]', "")
- line = line.replace('\\n', "\\\n")
- section_content += line
-
- if line.find("") != -1:
- subsection_id, subsection_name = extract_section_info(line)
- section_subcontent.append({"name": subsection_name,
- "id": subsection_id})
-
- return html_structure, section_order
-
-def extract_header(html_structure, section_order):
- header = '
\n"
- for section in section_order:
- if section == "header" or section.find("toc") != -1:
- continue
- header += '
\n"
- return header
-
-def generate_html_files(html_structure, header, output_dir):
- for section in html_structure:
- if section == "header" or section.find("toc") != -1:
- continue
- generate_html_backbone(output_dir + "/" + section + ".html", header,
- html_structure[section]["content"])
-
-def generate_html(args):
- html_structure, section_order = extract_html_structure(args.html_content)
- header = extract_header(html_structure, section_order)
- generate_html_files(html_structure, header, args.output_dir)
-
-
-if __name__ == '__main__':
- parser = argparse.ArgumentParser()
- parser.add_argument('--html_content', required=True)
- parser.add_argument('--output_dir', required=True)
- args = parser.parse_args()
-
- generate_html(args)
\n'
- # for subsection in html_structure[section]["subcontent"]:
- # header += '