Skip to content

Commit

Permalink
add credit page, mostly for reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
WindowsMeosu authored Oct 26, 2023
1 parent c138662 commit af9fcd3
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 9 deletions.
1 change: 1 addition & 0 deletions docs/api/api.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<xs:element name="medals" version="00.01%" type="xs:page" index="false"/>
<xs:element name="mrekk" version="97.56%" type="xs:user" index="true"/>
<xs:element name="Akolibed" version="0.00%" type="xs:user" index="false"/>
<xs:element name="credits" version="99.20" type:"xs:page" index="false"/>
</xs:element>


Expand Down
1 change: 1 addition & 0 deletions docs/api/credits.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"exists":"true","name":"credits","markup":"html/markdown","author":"Windows_Me"}
10 changes: 1 addition & 9 deletions docs/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ if `exists` is set to value `true`, this indicates that the endpoint exists. mar
"group":"BSC" = Beatmap Spotlight Curators
"group":"Beatmap Spotlight Curators" = Beatmap Spotlight Curators
(note: "mode" + gamemode should be inputted after if the group is set to BN, TrialBN, NAT, or BSC)

```


```sh
Expand All @@ -62,11 +62,3 @@ response:

API progress can be seen [here](index.ts.json).\
page completion progress can be seen [here](api.xml)

###### Contributors

<link rel="stylesheet" href="./contributor.css">

![Windows_Me](https://a.ppy.sh/28893698_q.jpeg#contributor)

[Windows_Me](https://osu.ppy.sh/u/Windows_Me)
27 changes: 27 additions & 0 deletions docs/credit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: [credits]
nav_exclude: true
author: Windows_Me
show_author: false
show_contributors: false
---
## Contribution Credits

## Authors

Author fields display the osu! profile of whoever authored the page. Rewritting a page entirely will result in a change of authorship.

Section authors, if any, shall be credited at the contributor field.

###### Example

<link rel="stylesheet" href="./content/en//users/contributor.css">

![Windows_Me](https://a.ppy.sh/28893698_q.jpeg#contributor) (Technical contributor)![Unknown](https://a.ppy.sh/02#contributor) (Section author, authored [example section](#none))

if `show_author` is set to `false`, no author field will be shown. The author may still be named in the page's yaml data.

## Contributors

Contributor fields, self-explanatory (displays contributors). These do not show if `show_contributors` is set to false.

2 changes: 2 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: [peppypedia]
aliases: [index]
show_author: false
show_contributors: false
---
<!-- I'm going to lose my fucking mind -->
<!-- ## <tr> -->
Expand Down

0 comments on commit af9fcd3

Please sign in to comment.