Skip to content

Commit

Permalink
lexer is super picky and doesn't highlight code with bad syntax so I …
Browse files Browse the repository at this point in the history
…just set all of them to guess
  • Loading branch information
julie-sullivan committed Jul 31, 2019
1 parent 5caa059 commit ee7bb02
Show file tree
Hide file tree
Showing 17 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion docs/data-model/data-labels.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Using these labels in your webapp
A new tag library is available to help with labelling. Add the following to the top
of any jsp you write that you want to use labels in:

.. code-block:: html
.. code-block:: guess
<%@ taglib uri="/WEB-INF/functions.tld" prefix="imf" %>
Expand Down
6 changes: 3 additions & 3 deletions docs/database/data-integrity-checks/acceptance-tests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Types of tests

You can assert that a query returns true:

.. code-block:: properties
.. code-block:: guess
assert {
sql: select count(*) >= 400000 from goannotation
Expand All @@ -27,7 +27,7 @@ You can assert that a query returns true:
Or doesn't have any results:

.. code-block:: properties
.. code-block:: guess
no-results {
sql: select * from datasource where url is null or name is null or description is null
Expand All @@ -36,7 +36,7 @@ Or doesn't have any results:
Or has at least some results:

.. code-block:: properties
.. code-block:: guess
some-results {
sql: select * from organism where name = 'Anopheles gambiae'
Expand Down
2 changes: 1 addition & 1 deletion docs/database/data-sources/library/proteins/uniprot.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This source loads data from the UniProt website here: ftp://ftp.uniprot.org/pub/

The UniProt source expects the data files to be in a special format:

.. code-block:: properties
.. code-block:: guess
TAXONID_uniprot_sprot.xml
TAXONID_uniprot_trembl.xml
Expand Down
2 changes: 1 addition & 1 deletion docs/database/database-building/model-merging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ An InterMine datamine is built from sources. Each source can contribute to the d

Other additions files (ie. not from sources) can be explicitly merged by setting the `extra.model.paths.start` and `extra.model.paths.end` properties in the `project.properties` of your `dbmodel` directory. An example from FlyMine's `build.gradle` is:

.. code-block:: properties
.. code-block:: groovy
mineDBModelConfig {
modelName = "genomic"
Expand Down
4 changes: 2 additions & 2 deletions docs/database/performance/data-loading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ In objectstore/test run ‘ant test-performance’ (requires unittest database,

Build server with SATA drives:

.. code-block:: properties
::

test-performance:
[run-performance-test] Starting performance test...
Expand All @@ -129,7 +129,7 @@ Build server with SATA drives:

Workstation with SSDs:

.. code-block:: properties
::

[run-performance-test] Starting performance test...
[run-performance-test] Stored 10000 employee objects, took: 8303ms
Expand Down
10 changes: 5 additions & 5 deletions docs/embedding/apps-c/publication-search.rst
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ Layout

Let us take a look at the layout template then; in `/src/templates/layout.mustache`:

.. code-block:: mustache
.. code-block:: guess
<div class="row collapse">
<div class="small-2 columns">
Expand Down Expand Up @@ -439,7 +439,7 @@ Search template

The search template just outputs the current value of the query:

.. code-block:: mustache
.. code-block:: guess
<input type="text" placeholder="e.g. brca, gamma" value="{{ query.value }}" autofocus>
Expand Down Expand Up @@ -649,7 +649,7 @@ Alert template

Each component needs a template. the alert one will look like this:

.. code-block:: mustache
.. code-block:: guess
<div class="alert-box {{ type }}">
{{{ text }}}.
Expand Down Expand Up @@ -682,7 +682,7 @@ Results table template

As for the template that displays the results; in `/src/templates/table.mustache`:

.. code-block:: mustache
.. code-block:: guess
{{ #if pubs.length }}
<table>
Expand Down Expand Up @@ -729,7 +729,7 @@ Style

We are going to wrap up by writing a stylesheet. For this we are going to use Stylus_; in `/src/styles/app.styl`:

.. code-block:: stylus
.. code-block:: guess
@import 'nib'
Expand Down
4 changes: 2 additions & 2 deletions docs/intermine/intermine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ To put these on your classpath, add the correct dependencies, e.g.
Maven
------

.. code-block:: maven
.. code-block:: guess
<dependency>
<groupId>org.intermine</groupId>
Expand All @@ -20,7 +20,7 @@ Maven
Gradle
-------

.. code-block:: gradle
.. code-block:: guess
compile 'org.intermine:intermine-api:4.0.1'
Expand Down
2 changes: 1 addition & 1 deletion docs/intermine/upgrade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ To Upgrade

1. Change your mine's `gradle.properties` file to `3.0.+`. If you have data sources, change the version they use too.

.. code-block:: javascript
.. code-block:: properties
# example -- flymine's gradle.properties
systemProp.imVersion=3.0.+
Expand Down
2 changes: 1 addition & 1 deletion docs/support/troubleshooting-tips.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ This means that your version of Java is too old, you need at least Java 8 to run
can't open datasource
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code-block:: java
.. code-block:: guess
java.lang.RuntimeException: can't open datasource for {platform=PostgreSQL, datasource.dataSourceName=db.flatmodeunittest, ...
Expand Down
2 changes: 1 addition & 1 deletion docs/system-requirements/software/maven.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Maven

InterMine uses `Maven <https://maven.apache.org/>`_ to manage local dependencies, including your mine-specific data sources.

.. code-block:: base
.. code-block:: bash
# for Ubuntu
sudo apt-get install maven
Expand Down
4 changes: 2 additions & 2 deletions docs/system-requirements/software/postgres/postgres.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ Client Authentication

You should also add a line to the pg_hba.conf file to allow logging in via password:

.. code-block:: properties
.. code-block:: guess
host all all 0.0.0.0/0 password
Expand Down Expand Up @@ -180,7 +180,7 @@ You should also add a line to the pg_hba.conf file to allow logging in via passw
.. [#screenshot]
.. code-block:: sql
.. code-block:: guess
postgres=# update pg_database set datallowconn = TRUE where datname = 'template0';
UPDATE 1
Expand Down
4 changes: 2 additions & 2 deletions docs/system-requirements/software/tomcat.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Server XML

You also need to check in your `server.xml` file that the correct `UTF-8` encoding has been applied to all connectors in use (see `CharacterEncoding <http://wiki.apache.org/tomcat/FAQ/CharacterEncoding>`_). Make sure that every connector element in use reads as follows:

.. code-block:: xml
.. code-block:: guess
<Connector ... URIEncoding="UTF-8"/>
...
Expand Down Expand Up @@ -119,7 +119,7 @@ Out of Memory Errors

To avoid `java.lang.OutOfMemory` errors, specify the JVM heap size in `$TOMCAT_HOME/bin/tomcat.sh`. You can specify the size as part of `TOMCAT_OPTS`:

.. code-block:: properties
.. code-block:: guess
'-Xmx256m -Xms128m'
Expand Down
2 changes: 1 addition & 1 deletion docs/webapp/help/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Take a tour link

The tour link is set in `headMenu.jsp` as:

.. code-block:: properties
.. code-block:: guess
<project.helpLocation>/tour/start
Expand Down
6 changes: 3 additions & 3 deletions docs/webapp/properties/web-properties.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ You can add links to other websites by adding entries to the `web.properties` fi

The format for this property is:

.. code-block:: properties
.. code-block:: guess
# on the report page - a single identifier
'attributelink' + unique_name + class + taxonId + attributeName + (url|imageName|text)
Expand Down Expand Up @@ -171,7 +171,7 @@ You can configure the URLs for querying CrossReference from external sources by

The format for this property is:

.. code-block:: properties
.. code-block:: guess
# on the report page
'xreflink' + dataSource_name + (url|imageName)
Expand Down Expand Up @@ -270,7 +270,7 @@ define the client-id and client-secret you registered your application with, eg:

.. code-block:: properties
~/.intermine/MINE.properties
# ~/.intermine/MINE.properties
oauth2.GITHUB.client-id = $GH-CLIENT-ID
oauth2.GITHUB.client-secret = $GH-CLIENT-SECRET
Expand Down
2 changes: 1 addition & 1 deletion docs/webapp/properties/webconfig-model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ openByDefault if sectionOnRight="true", whether or not this section sh

For example:

.. code-block:: xml
.. code-block:: guess
<class className="org.flymine.model.genomic.Protein">
<fields>
Expand Down
12 changes: 6 additions & 6 deletions docs/webapp/report-page/webapp-tables.rst
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Collection Table (Vertical Column Border)

.. image:: img/column-border.png

.. code-block:: html
.. code-block:: guess
<div class="collection-table column-border">
<-- ... -->
Expand All @@ -182,7 +182,7 @@ Collection Table (Vertical Column Border by 2)

.. image:: img/column-border-by-2.png

.. code-block:: html
.. code-block:: guess
<div class="collection-table column-border-by-2">
<-- ... -->
Expand Down Expand Up @@ -238,7 +238,7 @@ CSS Description
Collection Table (Persistent Table Headers)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code-block:: html
.. code-block:: guess
<div class="collection-table persistent">
<-- ... -->
Expand Down Expand Up @@ -278,7 +278,7 @@ Collection of Collection Tables

.. image:: img/collection-of-collections.png

.. code-block:: html
.. code-block:: guess
<div class="collection-of-collections">
<div class="header">
Expand Down Expand Up @@ -309,7 +309,7 @@ Table Togglers (Less, More, Expand, Collapse, Show in table)

.. image:: img/togglers.png

.. code-block:: html
.. code-block:: guess
<div class="collection-table">
<-- ... -->
Expand Down Expand Up @@ -385,7 +385,7 @@ Table Warning

.. image:: img/table-warning.png

.. code-block:: html
.. code-block:: guess
<div class="collection-table warning">
<-- ... -->
Expand Down
2 changes: 1 addition & 1 deletion docs/webapp/third-party-tools/jbrowse.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Point JBrowse at your InterMine

Add your new mine-based dataset to your configuration file. For example to add *D. melanogaster* data from FlyMine_ as a JBrowse dataset, the following configuration in `jbrowse_conf.json` would suffice:

.. code-block:: json
.. code-block:: guess
{
"datasets": {
Expand Down

0 comments on commit ee7bb02

Please sign in to comment.