Skip to content

Commit

Permalink
OPENNLP-1127 fix CSS for code tags, hide badgets, and update the over…
Browse files Browse the repository at this point in the history
…all look of the output HTML.
  • Loading branch information
kinow authored and kottmann committed Sep 8, 2017
1 parent 9eda182 commit e0b8c22
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 15 deletions.
19 changes: 8 additions & 11 deletions README.md
Expand Up @@ -61,22 +61,18 @@ You can also follow our [mailing lists](http://opennlp.apache.org/mailing-lists.

Currently the library has different packages:

`opennlp-tools` : The core toolkit.

`opennlp-uima` : A set of [Apache UIMA](https://uima.apache.org) annotators.

`opennlp-brat-annotator` : A set of annotators for [BRAT](http://brat.nlplab.org/)

`opennlp-morfologik-addon` : An addon for Morfologik

`opennlp-sandbox`: Other projects in progress are found in the [sandbox](https://github.com/apache/opennlp-sandbox)

* `opennlp-tools` : The core toolkit.
* `opennlp-uima` : A set of [Apache UIMA](https://uima.apache.org) annotators.
* `opennlp-brat-annotator` : A set of annotators for [BRAT](http://brat.nlplab.org/)
* `opennlp-morfologik-addon` : An addon for Morfologik
* `opennlp-sandbox`: Other projects in progress are found in the [sandbox](https://github.com/apache/opennlp-sandbox)

## Getting Started

You can import the core toolkit directly from Maven, SBT or Gradle:

#### Maven

```
<dependency>
<groupId>org.apache.opennlp</groupId>
Expand All @@ -86,16 +82,17 @@ You can import the core toolkit directly from Maven, SBT or Gradle:
```

#### SBT

```
libraryDependencies += "org.apache.opennlp" % "opennlp-tools" % "${opennlp.version}"
```

#### Gradle

```
compile group: "org.apache.opennlp", name: "opennlp-tools", version: "${opennlp.version}"
```


For more details please check our [documentation](http://opennlp.apache.org/docs/)

## Building OpenNLP
Expand Down
2 changes: 2 additions & 0 deletions opennlp-distr/README_FOOTER.html
@@ -0,0 +1,2 @@
</body>
</html>
29 changes: 25 additions & 4 deletions opennlp-distr/README_HEADER.html
Expand Up @@ -20,9 +20,30 @@
<head>
<title>Apache OpenNLP Readme</title>
<style>
[href='https://travis-ci.org/apache/opennlp']{ display: none }
[href='https://coveralls.io/github/apache/opennlp?branch=master']{ display: none }
[href='https://maven-badges.herokuapp.com/maven-central/org.apache.opennlp/opennlp']{ display: none }
[href='http://opennlp.apache.org/docs/index.html']{ display: none }
/*
Change default font.
*/
html {
font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;
}
/*
Format code.
*/
code,kbd,pre,samp {
font-family:Menlo,Monaco,Consolas,"Courier New",monospace;
}
code {
padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0;
}
code {
padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px;
}
/*
This hides the first paragraph in the page, which contains badges.
*/
p > a > img {
display: none;
}
</style>
</head>
<body>
4 changes: 4 additions & 0 deletions opennlp-distr/pom.xml
Expand Up @@ -74,6 +74,10 @@
<inputDirectory>${basedir}/../</inputDirectory>
<outputDirectory>${basedir}/target</outputDirectory>
<headerHtmlFile>${basedir}/README_HEADER.html</headerHtmlFile>
<footerHtmlFile>${basedir}/README_FOOTER.html</footerHtmlFile>
<pegdownExtensions>TABLES,FENCED_CODE_BLOCKS,AUTOLINKS</pegdownExtensions>
<!-- needed for the opennlp.version property -->
<applyFiltering>true</applyFiltering>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit e0b8c22

Please sign in to comment.