Verified Commit cddddfad authored by Camil Staps's avatar Camil Staps 🚀

Add info urls to main page (+ other minor changes)

parent e55d168c
......@@ -58,8 +58,10 @@ whether it is suitable to be indexed by cloogle.
To add a library you have to modify [`libs.json`](/libs.json). This file is a
JSON record with three collections of Clean libraries. Usually, you should add
the new library to the `Miscellaneous` collection. The newly added item may
contain the following fields:
the new library to the `Miscellaneous` collection. Please keep the alphabetic
order intact.
The newly added item may contain the following fields:
- `name` (**required**): a human-readable name.
- `fetch_url` (**required**): choose one of:
......
......@@ -5,7 +5,7 @@ COPY libs.json /usr/src/cloogle/libs.json
COPY util/fetch_libs.sh /usr/src/cloogle/fetch_libs.sh
WORKDIR /usr/src/cloogle
RUN install_clean.sh bundle-complete 2018-03-27 \
RUN install_clean.sh bundle-complete 2018-04-04 \
&& PACKAGES="patch jq" \
&& apt-get update -qq\
&& apt-get install -qq $PACKAGES --no-install-recommends\
......
......@@ -64,7 +64,11 @@
if (isset($lib['pattern_app']) && $lib['pattern_app'] == [['PWildcard']]) {
echo ' (<abbr title="Some modules in this library require that \'include apps\' is turned on.">app</abbr>)';
}
echo '</label><br/>';
echo '</label>';
if (isset($lib['info_url'])) {
echo ' <a href="' . $lib['info_url'] . '" target="_blank" title="More information">&#x2197;</a>';
}
echo '<br/>';
}
echo '</td>';
}
......
......@@ -26,6 +26,7 @@
{
"name": "StdEnv",
"fetch_url": ["Git", "https://github.com/clean-cloogle/StdEnv-doc"],
"info_url": "https://github.com/clean-cloogle/StdEnv-doc",
"pattern_exclude": [["PStartsWith","_startup"],["PStartsWith","_system"]]
},
{
......@@ -34,7 +35,8 @@
},
{
"name": "TCPIP",
"fetch_url": ["CleanDistribution", "TCPIP"]
"fetch_url": ["CleanDistribution", "TCPIP"],
"info_url": "https://clean.cs.ru.nl/TCP"
}
],
"Official":
......@@ -51,6 +53,7 @@
{
"name": "ObjectIO",
"fetch_url": ["SVN", "https://svn.cs.ru.nl/repos/clean-libraries"],
"info_url": "https://clean.cs.ru.nl/Object_I/O",
"path": "trunk/Libraries/ObjectIO/ObjectIO"
},
{
......@@ -130,6 +133,7 @@
{
"name": "SoccerFun",
"fetch_url": ["SVN", "https://svn.cs.ru.nl/repos/SoccerFun"],
"info_url": "http://www.cs.ru.nl/P.Achten/SoccerFun/SoccerFun.html",
"path": "src",
"pattern_app": [["PWildcard"]],
"pattern_exclude": [["PStartsWith","StdTeam/Team_"],["PStartsWith","StdReferee/RefereeCoach_"]]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment