You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Cassandra Targett (JIRA)" <ji...@apache.org> on 2014/08/21 22:55:11 UTC

[jira] [Created] (SOLR-6401) Update CSS for Solr Ref Guide to format code examples automatically

Cassandra Targett created SOLR-6401:
---------------------------------------

             Summary: Update CSS for Solr Ref Guide to format code examples automatically
                 Key: SOLR-6401
                 URL: https://issues.apache.org/jira/browse/SOLR-6401
             Project: Solr
          Issue Type: Improvement
          Components: documentation
            Reporter: Cassandra Targett
            Assignee: Uwe Schindler


In the online version of the Solr Ref Guide (https://cwiki.apache.org/confluence/solr), we have a number of code example boxes. We manually change the default styling to have a solid black border. It used to be relatively easy to set those properties each time you made a code box, but with the Confluence upgrades it's not as simple anymore, it requires a special level of access, and the convention isn't known by everyone so we're getting a melange of styles.

What we'd like to do instead is set the formatting via the CSS. It's a simple change, but editing the CSS for the Solr space is limited to system admins of the Confluence instance only.

1. Go to https://cwiki.apache.org/confluence/spaces/viewstylesheet.action?key=solr and click edit (at the bottom of the page).

2. Add the following to the bottom of the existing CSS:

{code}
#content .code {
   border-color: black;
   border-width: 1px;
   border-style: solid;
}
{code}

3. Save and you're done.

[~thetaphi], I've assigned to you because AFAIK you are the only one in Lucene/Solr with system admin-level access to CWIKI. If someone else has that access, please reassign as appropriate.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org