Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ output/
id_rsa
id_rsa.pub
__pycache__
web/.doit.db.bak
web/.doit.db.dat
web/.doit.db.dir
34 changes: 27 additions & 7 deletions web/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
PROJECT_REPOSITORY = "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/PlasmaPy/PlasmaPy"
BLOG_DESCRIPTION = "Webpage for PlasmaPy." # (translatable)

DOCS = "http://docs.plasmapy.org/"
RIOT = "https://riot.im/app/#/room/#plasmapy:openastronomy.org"
TWITTER = "https://twitter.com/plasmapy"
MAILING_LIST = "https://groups.google.com/forum/#!forum/plasmapy"
RITIEK = "https://ritiek.github.io/posts/"

# Nikola is multilingual!
#
# Currently supported languages are:
Expand Down Expand Up @@ -134,15 +140,27 @@

NAVIGATION_LINKS = {
DEFAULT_LANG: (
(PROJECT_REPOSITORY, "GitHub repository"),
((
("/about", "About PlasmaPy"),
# ("/acknowledging", "Acknowledging"),
("/conduct", "Code of Conduct")
), "About"),
("http://docs.plasmapy.org/", "Documentation"),
("/about", "About PlasmaPy"),
("/", "PlasmaPy News"),
("/acknowledging", "Acknowledging"),
("/conduct", "Code of Conduct")
), "About"),
(DOCS, "Documentation"),
# ("/quickstart", "Quickstart guide"),
("/contribute", "Contribute"),

((
(RIOT, "Chat"),
(TWITTER, "Twitter"),
(MAILING_LIST, "Mailing list"),
), "Contact us!"),
# ("/team", "Team"),
((
(RITIEK, "GSoC 2018"),
), "Google Summer of Code"),

)
}

Expand Down Expand Up @@ -943,7 +961,7 @@

# A small copyright notice for the page footer (in HTML).
# (translatable)
CONTENT_FOOTER = 'Contents &copy; {date} <a href="{repo}">{author}</a> - {license} - Powered by <a href="https://getnikola.com" rel="nofollow">Nikola</a>'
CONTENT_FOOTER = 'Contents &copy; {date} <a href="{repo}">{author}</a> - {license} - <a href="{twitter}">Twitter</a> - <a href="{riot}">Chat</a> - Powered by <a href="https://getnikola.com" rel="nofollow">Nikola</a>'

# Things that will be passed to CONTENT_FOOTER.format(). This is done
# for translatability, as dicts are not formattable. Nikola will
Expand All @@ -965,7 +983,9 @@
"repo": PROJECT_REPOSITORY,
"author": BLOG_AUTHOR,
"date": time.gmtime().tm_year,
"license": LICENSE
"license": LICENSE,
"twitter": TWITTER,
"riot": RIOT,
}
)
}
Expand Down
2 changes: 1 addition & 1 deletion web/pages/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h2>Get PlasmaPy</h2>
<h2>Get Involved</h2>
<p>
We need your help, every contribution is appreciated!
Check out <a href="contribute">our contribution guide</a> to PlasmaPy.
Check out <a href="https://www.plasmapy.org/contribute">our contribution guide</a> to PlasmaPy.
</p>
</div>
<div id="main-text-block">
Expand Down
23 changes: 23 additions & 0 deletions web/pages/acknowledging.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
title: Acknowledging PlasmaPy
slug: acknowledging

If you use PlasmaPy for a project resulting in a publication, we ask
that you cite the following reference
([BibTeX](https://zenodo.org/record/1238132/export/hx#.WvMkQK0cChc)):

* PlasmaPy Community, Nicholas A. Murphy, Andrew J. Leonard, Dominik
Stańczak, Pawel M. Kozlowski, Samuel J. Langendorf, Colby C. Haggerty,
Jasper P. Beckers, Stuart J. Mumford, Tulasi N. Parashar, and Yi-Min
Huang. (2018, April). PlasmaPy: an open source community-developed
Python package for plasma physics. Zenodo.
http://doi.org/10.5281/zenodo.1238132

We provide the following standard acknowledgment with this citation that
you may use instead of a citation in the body of a paper.

* This research made use of PlasmaPy, a community-developed open source
core Python package for plasma physics (PlasmaPy Community 2018).

We highly encourage researchers to acknowledge the packages that
PlasmaPy depends on, including but not limited to Astropy, NumPy, and
SciPy.
2 changes: 1 addition & 1 deletion web/pages/contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ one if necessary) to make sure there is no work duplication.

You can find most of what you should know in the [Contributing Guide](http://docs.plasmapy.org/en/master/development/index.html).

Please note that PlasmaPy has a [Code of Conduct](CODE_OF_CONDUCT.md).
Please note that PlasmaPy has a [Code of Conduct](/conduct).

Issues marked by the community as *help wanted* mean just that - either they're
good contributions for outsiders or there's an issue in the ongoing work that
Expand Down