Skip to content

Commit

Permalink
Update style for bibliography sections (#212)
Browse files Browse the repository at this point in the history
The default style for `[bibliography]` sections includes bullet points and padding. This change removes both.
  • Loading branch information
nvitucci authored Feb 9, 2024
1 parent 936c9f1 commit 3c7a075
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
12 changes: 12 additions & 0 deletions preview-src/bibliography.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
= Use of `bibliography`

Citations with xreftext: <<Brandes2001>>, <<Brandes2007>>.

Citations without xreftext (ID only): <<Freeman1977>>.

[bibliography]
== References

* [[[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[].
* [[[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[].
* [[[Freeman1977]]] Freeman, Linton C. "A set of measures of centrality based on betweenness." _Sociometry_ (1977): 35-41.
3 changes: 3 additions & 0 deletions preview-src/ui-model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ page:
- content: Algorithms
url: algorithms.html
urlType: internal
- content: Bibliography
url: bibliography.html
urlType: internal
- content: Private Page
url: private-page.html
urlType: internal
Expand Down
5 changes: 5 additions & 0 deletions src/css/neo4j-docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -417,3 +417,8 @@ div.beta-symbol p::before {
background-color: var(--warning-background-color);
color: var(--warning-color);
}

ul.bibliography {
list-style-type: none;
padding-left: 0;
}

0 comments on commit 3c7a075

Please sign in to comment.