Skip to content

Commit 3c7a075

Browse files
authored
Update style for bibliography sections (#212)
The default style for `[bibliography]` sections includes bullet points and padding. This change removes both.
1 parent 936c9f1 commit 3c7a075

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

preview-src/bibliography.adoc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
= Use of `bibliography`
2+
3+
Citations with xreftext: <<Brandes2001>>, <<Brandes2007>>.
4+
5+
Citations without xreftext (ID only): <<Freeman1977>>.
6+
7+
[bibliography]
8+
== References
9+
10+
* [[[Brandes2001, 1]]] Brandes, Ulrik. "A faster algorithm for betweenness centrality." _Journal of mathematical sociology_ 25, no. 2 (2001): 163-177. link:https://snap.stanford.edu/class/cs224w-readings/brandes01centrality.pdf[].
11+
* [[[Brandes2007, 2]]] Brandes, Ulrik, and Christian Pich. "Centrality estimation in large networks." _International Journal of Bifurcation and Chaos_ 17, no. 07 (2007): 2303-2318. link:https://www.uni-konstanz.de/mmsp/pubsys/publishedFiles/BrPi07.pdf[].
12+
* [[[Freeman1977]]] Freeman, Linton C. "A set of measures of centrality based on betweenness." _Sociometry_ (1977): 35-41.

preview-src/ui-model.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,9 @@ page:
208208
- content: Algorithms
209209
url: algorithms.html
210210
urlType: internal
211+
- content: Bibliography
212+
url: bibliography.html
213+
urlType: internal
211214
- content: Private Page
212215
url: private-page.html
213216
urlType: internal

src/css/neo4j-docs.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,3 +417,8 @@ div.beta-symbol p::before {
417417
background-color: var(--warning-background-color);
418418
color: var(--warning-color);
419419
}
420+
421+
ul.bibliography {
422+
list-style-type: none;
423+
padding-left: 0;
424+
}

0 commit comments

Comments
 (0)