Blending together codeberg-docs-prototype and original Codeberg/Documentation

This commit is contained in:
Lucas Hinderberger 2020-08-13 12:29:36 +02:00
parent ec1ef2713f
commit cfa9cbbbf5
60 changed files with 4977 additions and 514 deletions

18
.eleventy.js Normal file
View file

@ -0,0 +1,18 @@
const navigationPlugin = require("@11ty/eleventy-navigation")
const syntaxHighlightingPlugin = require("@11ty/eleventy-plugin-syntaxhighlight")
module.exports = function(eleventyConfig) {
eleventyConfig.addPlugin(navigationPlugin)
eleventyConfig.addPlugin(syntaxHighlightingPlugin)
eleventyConfig.addPassthroughCopy("assets")
eleventyConfig.addPassthroughCopy("fonts")
eleventyConfig.addShortcode("fas_icon", function(name) { return `<span class="fas fa-${name}"></span>` })
return {
dir: {
input: "content"
}
}
}

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
node_modules/
_site/

10
CONTRIBUTORS.md Normal file
View file

@ -0,0 +1,10 @@
# The Codeberg Documentation Contributors
In alphabetic order (by last name / username):
- Christian Buhtz (@buhtz)
- Ben Cotterell (@benc)
- Lucas Hinderberger (@lhinderberger)
- @mray (for the Codeberg Logo)
- @n
- Holger Waechtler (@hw)

428
LICENSE
View file

@ -1,428 +0,0 @@
Attribution-ShareAlike 4.0 International
=======================================================================
Creative Commons Corporation ("Creative Commons") is not a law firm and
does not provide legal services or legal advice. Distribution of
Creative Commons public licenses does not create a lawyer-client or
other relationship. Creative Commons makes its licenses and related
information available on an "as-is" basis. Creative Commons gives no
warranties regarding its licenses, any material licensed under their
terms and conditions, or any related information. Creative Commons
disclaims all liability for damages resulting from their use to the
fullest extent possible.
Using Creative Commons Public Licenses
Creative Commons public licenses provide a standard set of terms and
conditions that creators and other rights holders may use to share
original works of authorship and other material subject to copyright
and certain other rights specified in the public license below. The
following considerations are for informational purposes only, are not
exhaustive, and do not form part of our licenses.
Considerations for licensors: Our public licenses are
intended for use by those authorized to give the public
permission to use material in ways otherwise restricted by
copyright and certain other rights. Our licenses are
irrevocable. Licensors should read and understand the terms
and conditions of the license they choose before applying it.
Licensors should also secure all rights necessary before
applying our licenses so that the public can reuse the
material as expected. Licensors should clearly mark any
material not subject to the license. This includes other CC-
licensed material, or material used under an exception or
limitation to copyright. More considerations for licensors:
wiki.creativecommons.org/Considerations_for_licensors
Considerations for the public: By using one of our public
licenses, a licensor grants the public permission to use the
licensed material under specified terms and conditions. If
the licensor's permission is not necessary for any reason--for
example, because of any applicable exception or limitation to
copyright--then that use is not regulated by the license. Our
licenses grant only permissions under copyright and certain
other rights that a licensor has authority to grant. Use of
the licensed material may still be restricted for other
reasons, including because others have copyright or other
rights in the material. A licensor may make special requests,
such as asking that all changes be marked or described.
Although not required by our licenses, you are encouraged to
respect those requests where reasonable. More considerations
for the public:
wiki.creativecommons.org/Considerations_for_licensees
=======================================================================
Creative Commons Attribution-ShareAlike 4.0 International Public
License
By exercising the Licensed Rights (defined below), You accept and agree
to be bound by the terms and conditions of this Creative Commons
Attribution-ShareAlike 4.0 International Public License ("Public
License"). To the extent this Public License may be interpreted as a
contract, You are granted the Licensed Rights in consideration of Your
acceptance of these terms and conditions, and the Licensor grants You
such rights in consideration of benefits the Licensor receives from
making the Licensed Material available under these terms and
conditions.
Section 1 -- Definitions.
a. Adapted Material means material subject to Copyright and Similar
Rights that is derived from or based upon the Licensed Material
and in which the Licensed Material is translated, altered,
arranged, transformed, or otherwise modified in a manner requiring
permission under the Copyright and Similar Rights held by the
Licensor. For purposes of this Public License, where the Licensed
Material is a musical work, performance, or sound recording,
Adapted Material is always produced where the Licensed Material is
synched in timed relation with a moving image.
b. Adapter's License means the license You apply to Your Copyright
and Similar Rights in Your contributions to Adapted Material in
accordance with the terms and conditions of this Public License.
c. BY-SA Compatible License means a license listed at
creativecommons.org/compatiblelicenses, approved by Creative
Commons as essentially the equivalent of this Public License.
d. Copyright and Similar Rights means copyright and/or similar rights
closely related to copyright including, without limitation,
performance, broadcast, sound recording, and Sui Generis Database
Rights, without regard to how the rights are labeled or
categorized. For purposes of this Public License, the rights
specified in Section 2(b)(1)-(2) are not Copyright and Similar
Rights.
e. Effective Technological Measures means those measures that, in the
absence of proper authority, may not be circumvented under laws
fulfilling obligations under Article 11 of the WIPO Copyright
Treaty adopted on December 20, 1996, and/or similar international
agreements.
f. Exceptions and Limitations means fair use, fair dealing, and/or
any other exception or limitation to Copyright and Similar Rights
that applies to Your use of the Licensed Material.
g. License Elements means the license attributes listed in the name
of a Creative Commons Public License. The License Elements of this
Public License are Attribution and ShareAlike.
h. Licensed Material means the artistic or literary work, database,
or other material to which the Licensor applied this Public
License.
i. Licensed Rights means the rights granted to You subject to the
terms and conditions of this Public License, which are limited to
all Copyright and Similar Rights that apply to Your use of the
Licensed Material and that the Licensor has authority to license.
j. Licensor means the individual(s) or entity(ies) granting rights
under this Public License.
k. Share means to provide material to the public by any means or
process that requires permission under the Licensed Rights, such
as reproduction, public display, public performance, distribution,
dissemination, communication, or importation, and to make material
available to the public including in ways that members of the
public may access the material from a place and at a time
individually chosen by them.
l. Sui Generis Database Rights means rights other than copyright
resulting from Directive 96/9/EC of the European Parliament and of
the Council of 11 March 1996 on the legal protection of databases,
as amended and/or succeeded, as well as other essentially
equivalent rights anywhere in the world.
m. You means the individual or entity exercising the Licensed Rights
under this Public License. Your has a corresponding meaning.
Section 2 -- Scope.
a. License grant.
1. Subject to the terms and conditions of this Public License,
the Licensor hereby grants You a worldwide, royalty-free,
non-sublicensable, non-exclusive, irrevocable license to
exercise the Licensed Rights in the Licensed Material to:
a. reproduce and Share the Licensed Material, in whole or
in part; and
b. produce, reproduce, and Share Adapted Material.
2. Exceptions and Limitations. For the avoidance of doubt, where
Exceptions and Limitations apply to Your use, this Public
License does not apply, and You do not need to comply with
its terms and conditions.
3. Term. The term of this Public License is specified in Section
6(a).
4. Media and formats; technical modifications allowed. The
Licensor authorizes You to exercise the Licensed Rights in
all media and formats whether now known or hereafter created,
and to make technical modifications necessary to do so. The
Licensor waives and/or agrees not to assert any right or
authority to forbid You from making technical modifications
necessary to exercise the Licensed Rights, including
technical modifications necessary to circumvent Effective
Technological Measures. For purposes of this Public License,
simply making modifications authorized by this Section 2(a)
(4) never produces Adapted Material.
5. Downstream recipients.
a. Offer from the Licensor -- Licensed Material. Every
recipient of the Licensed Material automatically
receives an offer from the Licensor to exercise the
Licensed Rights under the terms and conditions of this
Public License.
b. Additional offer from the Licensor -- Adapted Material.
Every recipient of Adapted Material from You
automatically receives an offer from the Licensor to
exercise the Licensed Rights in the Adapted Material
under the conditions of the Adapter's License You apply.
c. No downstream restrictions. You may not offer or impose
any additional or different terms or conditions on, or
apply any Effective Technological Measures to, the
Licensed Material if doing so restricts exercise of the
Licensed Rights by any recipient of the Licensed
Material.
6. No endorsement. Nothing in this Public License constitutes or
may be construed as permission to assert or imply that You
are, or that Your use of the Licensed Material is, connected
with, or sponsored, endorsed, or granted official status by,
the Licensor or others designated to receive attribution as
provided in Section 3(a)(1)(A)(i).
b. Other rights.
1. Moral rights, such as the right of integrity, are not
licensed under this Public License, nor are publicity,
privacy, and/or other similar personality rights; however, to
the extent possible, the Licensor waives and/or agrees not to
assert any such rights held by the Licensor to the limited
extent necessary to allow You to exercise the Licensed
Rights, but not otherwise.
2. Patent and trademark rights are not licensed under this
Public License.
3. To the extent possible, the Licensor waives any right to
collect royalties from You for the exercise of the Licensed
Rights, whether directly or through a collecting society
under any voluntary or waivable statutory or compulsory
licensing scheme. In all other cases the Licensor expressly
reserves any right to collect such royalties.
Section 3 -- License Conditions.
Your exercise of the Licensed Rights is expressly made subject to the
following conditions.
a. Attribution.
1. If You Share the Licensed Material (including in modified
form), You must:
a. retain the following if it is supplied by the Licensor
with the Licensed Material:
i. identification of the creator(s) of the Licensed
Material and any others designated to receive
attribution, in any reasonable manner requested by
the Licensor (including by pseudonym if
designated);
ii. a copyright notice;
iii. a notice that refers to this Public License;
iv. a notice that refers to the disclaimer of
warranties;
v. a URI or hyperlink to the Licensed Material to the
extent reasonably practicable;
b. indicate if You modified the Licensed Material and
retain an indication of any previous modifications; and
c. indicate the Licensed Material is licensed under this
Public License, and include the text of, or the URI or
hyperlink to, this Public License.
2. You may satisfy the conditions in Section 3(a)(1) in any
reasonable manner based on the medium, means, and context in
which You Share the Licensed Material. For example, it may be
reasonable to satisfy the conditions by providing a URI or
hyperlink to a resource that includes the required
information.
3. If requested by the Licensor, You must remove any of the
information required by Section 3(a)(1)(A) to the extent
reasonably practicable.
b. ShareAlike.
In addition to the conditions in Section 3(a), if You Share
Adapted Material You produce, the following conditions also apply.
1. The Adapter's License You apply must be a Creative Commons
license with the same License Elements, this version or
later, or a BY-SA Compatible License.
2. You must include the text of, or the URI or hyperlink to, the
Adapter's License You apply. You may satisfy this condition
in any reasonable manner based on the medium, means, and
context in which You Share Adapted Material.
3. You may not offer or impose any additional or different terms
or conditions on, or apply any Effective Technological
Measures to, Adapted Material that restrict exercise of the
rights granted under the Adapter's License You apply.
Section 4 -- Sui Generis Database Rights.
Where the Licensed Rights include Sui Generis Database Rights that
apply to Your use of the Licensed Material:
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
to extract, reuse, reproduce, and Share all or a substantial
portion of the contents of the database;
b. if You include all or a substantial portion of the database
contents in a database in which You have Sui Generis Database
Rights, then the database in which You have Sui Generis Database
Rights (but not its individual contents) is Adapted Material,
including for purposes of Section 3(b); and
c. You must comply with the conditions in Section 3(a) if You Share
all or a substantial portion of the contents of the database.
For the avoidance of doubt, this Section 4 supplements and does not
replace Your obligations under this Public License where the Licensed
Rights include other Copyright and Similar Rights.
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
c. The disclaimer of warranties and limitation of liability provided
above shall be interpreted in a manner that, to the extent
possible, most closely approximates an absolute disclaimer and
waiver of all liability.
Section 6 -- Term and Termination.
a. This Public License applies for the term of the Copyright and
Similar Rights licensed here. However, if You fail to comply with
this Public License, then Your rights under this Public License
terminate automatically.
b. Where Your right to use the Licensed Material has terminated under
Section 6(a), it reinstates:
1. automatically as of the date the violation is cured, provided
it is cured within 30 days of Your discovery of the
violation; or
2. upon express reinstatement by the Licensor.
For the avoidance of doubt, this Section 6(b) does not affect any
right the Licensor may have to seek remedies for Your violations
of this Public License.
c. For the avoidance of doubt, the Licensor may also offer the
Licensed Material under separate terms or conditions or stop
distributing the Licensed Material at any time; however, doing so
will not terminate this Public License.
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
License.
Section 7 -- Other Terms and Conditions.
a. The Licensor shall not be bound by any additional or different
terms or conditions communicated by You unless expressly agreed.
b. Any arrangements, understandings, or agreements regarding the
Licensed Material not stated herein are separate from and
independent of the terms and conditions of this Public License.
Section 8 -- Interpretation.
a. For the avoidance of doubt, this Public License does not, and
shall not be interpreted to, reduce, limit, restrict, or impose
conditions on any use of the Licensed Material that could lawfully
be made without permission under this Public License.
b. To the extent possible, if any provision of this Public License is
deemed unenforceable, it shall be automatically reformed to the
minimum extent necessary to make it enforceable. If the provision
cannot be reformed, it shall be severed from this Public License
without affecting the enforceability of the remaining terms and
conditions.
c. No term or condition of this Public License will be waived and no
failure to comply consented to unless expressly agreed to by the
Licensor.
d. Nothing in this Public License constitutes or may be interpreted
as a limitation upon, or waiver of, any privileges and immunities
that apply to the Licensor or You, including from the legal
processes of any jurisdiction or authority.
=======================================================================
Creative Commons is not a party to its public
licenses. Notwithstanding, Creative Commons may elect to apply one of
its public licenses to material it publishes and in those instances
will be considered the “Licensor.” The text of the Creative Commons
public licenses is dedicated to the public domain under the CC0 Public
Domain Dedication. Except for the limited purpose of indicating that
material is shared under a Creative Commons public license or as
otherwise permitted by the Creative Commons policies published at
creativecommons.org/policies, Creative Commons does not authorize the
use of the trademark "Creative Commons" or any other trademark or logo
of Creative Commons without its prior written consent including,
without limitation, in connection with any unauthorized modifications
to any of its public licenses or any other arrangements,
understandings, or agreements concerning use of licensed material. For
the avoidance of doubt, this paragraph does not form part of the
public licenses.
Creative Commons may be contacted at creativecommons.org.

12
LICENSE.md Normal file
View file

@ -0,0 +1,12 @@
This website by [The Codeberg Documentation Contributors](CONTRIBUTORS.md)
is licensed under [CC-BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/deed.en).
The Codeberg logos in this website are derivative works of mray's Codeberg Logo,
licensed under [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.en).
Codeberg and the Codeberg Logo are trademarks of Codeberg e.V.
The source code of this website bundles font software in the `fonts` directory, which are
not covered by the license above. They are not an integral part of this website and may be
removed or replaced without major problems. Please refer to the files in the `fonts` directory
for details on their licensing.

View file

@ -1,5 +1,28 @@
# Codeberg Documentation
Please have a look into and consider to help writing the Documentation Wiki. This is still very much work-in-progress, the more useful material we collect, the better we can later present it! All contributions very welcome!
This repository contains the documentation for Codeberg, with some code to build it into
a static website.
## License
This project is under the CC BY-SA 4.0 License. See the LICENSE file for the full license text.
Please have a look into it and consider to help writing the Documentation. This is still very much work-in-progress, the more useful material we collect, the better we can later present it! All contributions are very welcome!
## Usage
This website uses [Eleventy](https://www.11ty.dev/) as its static site generator.
It's supplied as a dev-dependency in `package.json`.
Thus, install the dependencies by running
```npm install```
and then run
```npm run serve```
to have a look at the website or
```npm run build```
to build the website to `_site`.
## License and Contributors
This website (excluding bundled fonts) is licensed under CC BY-SA 4.0. See the [LICENSE](LICENSE.md) file for details.
The contributors are listed in `CONTRIBUTORS.md`.

View file

@ -0,0 +1,80 @@
html, body { width: 100%; height: 100%; margin: 0; padding: 0; }
body { display: flex; flex-direction: column; font-family: "Rubik", sans-serif; font-size: 13pt; font-weight: 300; }
header { height: 60px; margin-top: 30px; margin-bottom: 60px; }
header > .container { display: flex; align-items: center; }
#header-buttons { flex: 1; text-align: right; }
#header-buttons a { text-decoration: none; color: black; margin-left: 10px; }
#header-buttons a:hover { text-decoration: underline; }
#header-logo { height: 100%; padding: 10px; padding-left: 0; box-sizing: border-box; }
#header-logo img { height: 100%; }
#contents-button { display: none; }
main { flex: 1; }
main > .container { display: flex; }
#sidebar { display: flex; flex-direction: column; padding: 50px 10px; background: #2185d0; color: white; font-weight: 400; }
#sidebar nav { width: 350px; box-sizing: border-box; flex: 1; }
#sidebar nav .fas { width: 30px; text-align: center; }
#sidebar nav a { text-decoration: none; color: white; }
#sidebar nav ul { list-style-type: none; padding: 0; margin: 0; }
#sidebar .nav-section a { display: block; padding: 7px 10px; margin: 0 -10px 5px; background: #4595d3; font-size: 14pt; }
#sidebar .nav-section a:hover, #sidebar .nav-section.active a { background: #27628f; margin-left: -15px; padding-left: 15px; margin-right: -15px; }
#sidebar .nav-second-level ul { margin-left: 15px; padding: 7px 0; }
#sidebar .nav-second-level li { margin-bottom: 10px; }
#sidebar .nav-second-level a:hover, #sidebar .nav-second-level a.active { text-decoration: underline; }
#sidebar .sidebar-close-button { display: none; position: relative; text-align: right; top: -35px; }
#sidebar .sidebar-close-button a:hover { color: red; }
article { flex: 99; padding: 50px 0; margin-left: 150px; }
article p { text-align: justify; }
article :first-child { margin-top: 0; }
article h1, h2, h3, h4, h5, h6 { font-family: "Tajawal", sans-serif; }
article h1 { font-size: 34pt; }
article h2 { font-size: 26pt; }
article h3 { font-size: 20pt; }
article h4 { font-size: 16pt; }
article h5 { font-size: 14pt; }
article h6 { font-size: 12pt; }
article blockquote, pre { background: #eee; padding: 30px; margin: 0; border-left: 5px solid #2185d0; }
article blockquote p:last-of-type { margin-bottom: 0; }
article blockquote blockquote { background: #ddd; }
article code { background: #eee; border-radius: 5px; padding: 1px 3px; }
article pre code { background: none; border-radius: none; padding: 0; }
article img { border: 5px solid #eee; max-width: 100%; }
article table { border-collapse: collapse; }
article td, th { padding: 15px; }
article th { background: #ddd; }
article tr:nth-of-type(2) { background: #eee; }
article hr { width: 80%; border: 1px solid #eee; }
footer { background: #f5f5f5; text-align: center; font-size: 10pt; padding: 15px 0; margin-top: 60px; }
.container { max-width: 1300px; margin: auto; height: 100%; }
.fas { font-family: "Font Awesome 5 Free Solid"; }
@media screen and (max-width: 1400px) {
#sidebar { display: block; position: absolute; left: 0; top: 0; height: 100%; transform: translateX(-400px); }
#sidebar .sidebar-close-button { display: block; }
article { margin-left: 0; margin-right: 0; }
.container { max-width: 780px; padding: 0 50px; }
#contents-button { display: inline-block; background: #eee; border-radius: 5px; padding: 5px; width: 20px; height: 20px; text-align: center; }
#contents-button:hover { background: #ccc; }
}
@media screen and (max-width: 600px) {
.container { padding: 0 20px; }
header { margin-top: 15px; margin-bottom: 30px; }
header .container { flex-direction: column; align-items: normal; }
#header-logo { margin-bottom: 15px; }
h1 { font-size: 24pt; }
}
@keyframes slideSidebar {
from { transform: translateX(-400px); }
to { transform: translateX(0); }
}

183
assets/css/prism-nord.css Normal file
View file

@ -0,0 +1,183 @@
/**
* Copied from https://github.com/PrismJS/prism-themes
*
*
*
* prism-themes License:
*
* The MIT License (MIT)
*
* Copyright (c) 2015 PrismJS
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*
*
*
* Nord Color Theme license:
*
* MIT License (MIT)
*
* Copyright (c) 2016-present Arctic Ice Studio <development@arcticicestudio.com> (https://www.arcticicestudio.com)
* Copyright (c) 2016-present Sven Greb <development@svengreb.de> (https://www.svengreb.de)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
/**
* Nord Theme Originally by Arctic Ice Studio
* https://nordtheme.com
*
* Ported for PrismJS by Zane Hitchcoxc (@zwhitchcox) and Gabriel Ramos (@gabrieluizramos)
*/
code[class*="language-"],
pre[class*="language-"] {
color: #f8f8f2;
background: none;
font-family: "Fira Code", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
/* Code blocks */
pre[class*="language-"] {
padding: 1em;
margin: .5em 0;
overflow: auto;
border-radius: 0.3em;
}
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
background: #2E3440;
}
/* Inline code */
:not(pre) > code[class*="language-"] {
padding: .1em;
border-radius: .3em;
white-space: normal;
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: #636f88;
}
.token.punctuation {
color: #81A1C1;
}
.namespace {
opacity: .7;
}
.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
color: #81A1C1;
}
.token.number {
color: #B48EAD;
}
.token.boolean {
color: #81A1C1;
}
.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
color: #A3BE8C;
}
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string,
.token.variable {
color: #81A1C1;
}
.token.atrule,
.token.attr-value,
.token.function,
.token.class-name {
color: #88C0D0;
}
.token.keyword {
color: #81A1C1;
}
.token.regex,
.token.important {
color: #EBCB8B;
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}

View file

@ -0,0 +1,15 @@
/*
* The Font Awesome 5 Free Solid font is Copyright Font Awesome
* That Font Software is licensed under the SIL Open Font License, Version 1.1.
* You can access the full license text in the source code of this website,
* at /fonts/FontAwesome5FreeSolid/OFL.txt relative to the root of this website
* or under https://scripts.sil.org/OFL
* The license text of the MIT license for the supporting code in
* /fonts/FontAwesome5FreeSolid/fontawesome.min.css is available
* in the source code of this website or at /fonts/FontAwesome5FreeSolid/MIT.txt
* relative to the root of this website.
*/
@font-face {
font-family: "Font Awesome 5 Free Solid";
src: url("/fonts/FontAwesome5FreeSolid/fa-solid-900.woff2");
}

View file

@ -0,0 +1,17 @@
/*
* The Rubik font is Copyright 2015 The Rubik Project Authors (https://github.com/googlefonts/rubik)
* That Font Software is licensed under the SIL Open Font License, Version 1.1.
* You can access the full license text in the source code of this website,
* at /fonts/Rubik/OFL.txt relative to the root of this website
* or under https://scripts.sil.org/OFL
*/
@font-face {
font-family: "Rubik";
font-weight: normal;
src: url("/fonts/Rubik/Rubik-Regular.woff2");
}
@font-face {
font-family: "Rubik";
font-weight: 300;
src: url("/fonts/Rubik/Rubik-Light.woff2");
}

View file

@ -0,0 +1,12 @@
/*
* The Tajawal font is Copyright 2018 Boutros International. (http://www.boutrosfonts.com)
* That Font Software is licensed under the SIL Open Font License, Version 1.1.
* You can access the full license text in the source code of this website,
* at /fonts/Tajawal/OFL.txt relative to the root of this website
* or under https://scripts.sil.org/OFL
*/
@font-face {
font-family: "Tajawal";
font-weight: bold;
src: url("/fonts/Tajawal/Tajawal-Bold.ttf");
}

View file

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

View file

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 66 KiB

View file

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

View file

@ -0,0 +1 @@
Codeberg and the Codeberg Logo are trademarks of Codeberg e.V.

Binary file not shown.

View file

@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 207 31" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<g transform="matrix(0.499021,0,0,0.499021,13.578,-16.3653)">
<g id="layer1">
<g>
<g id="g6933" transform="matrix(1.40064,0,0,1.40064,-15751.3,2671.17)">
<g id="path6733" transform="matrix(0.264583,0,0,0.264583,0,0)">
<path d="M42519.3,-7078.79C42518.9,-7078.78 42518.5,-7078.53 42518.5,-7078.22C42518.5,-7078.19 42518.5,-7078.15 42518.5,-7078.11L42552.1,-6952.23C42568.4,-6959.22 42582.1,-6971 42591.5,-6985.99L42519.9,-7078.51C42519.8,-7078.69 42519.6,-7078.79 42519.3,-7078.79Z" style="fill:url(#_Linear1);fill-rule:nonzero;"/>
</g>
<g id="circle6810" transform="matrix(0.264583,0,0,0.264583,0,0)">
<path d="M42517.3,-7119.48C42469.6,-7119.3 42430.5,-7080 42430.5,-7032.3C42430.5,-7015.92 42435.1,-6999.87 42443.8,-6985.99L42516.5,-7079.97C42516.7,-7080.28 42517.2,-7080.48 42517.6,-7080.48C42518.1,-7080.48 42518.6,-7080.28 42518.8,-7079.97L42591.5,-6985.99C42600.2,-6999.87 42604.8,-7015.92 42604.8,-7032.3C42604.8,-7080.13 42565.5,-7119.48 42517.6,-7119.48C42517.5,-7119.48 42517.4,-7119.48 42517.3,-7119.48Z" style="fill:rgb(33,133,208);fill-rule:nonzero;"/>
</g>
</g>
<g transform="matrix(2.07335,0,0,2.07335,-30.3925,12.2647)">
<g transform="matrix(26.3007,0,0,26.3007,37.6789,33.1733)">
<path d="M0.08,-0.632C0.113,-0.641 0.17,-0.645 0.253,-0.645C0.367,-0.645 0.454,-0.612 0.514,-0.545C0.565,-0.488 0.591,-0.414 0.591,-0.323C0.591,-0.209 0.558,-0.123 0.493,-0.066C0.434,-0.014 0.351,0.012 0.245,0.012C0.178,0.012 0.123,0.008 0.08,-0.001L0.08,-0.632ZM0.211,-0.096C0.224,-0.093 0.241,-0.091 0.261,-0.091C0.39,-0.091 0.454,-0.167 0.454,-0.319C0.454,-0.394 0.433,-0.452 0.39,-0.492C0.355,-0.524 0.311,-0.54 0.258,-0.54C0.243,-0.54 0.227,-0.538 0.211,-0.535L0.211,-0.096Z" style="fill:rgb(33,133,208);fill-rule:nonzero;"/>
</g>
<g transform="matrix(26.3007,0,0,26.3007,53.2226,33.1733)">
<path d="M0.264,-0.466C0.339,-0.466 0.397,-0.44 0.438,-0.387C0.473,-0.343 0.49,-0.289 0.49,-0.226C0.49,-0.152 0.464,-0.092 0.413,-0.046C0.37,-0.007 0.321,0.012 0.264,0.012C0.198,0.012 0.143,-0.013 0.098,-0.062C0.058,-0.107 0.038,-0.161 0.038,-0.226C0.038,-0.299 0.06,-0.359 0.105,-0.404C0.146,-0.445 0.199,-0.466 0.264,-0.466ZM0.264,-0.082C0.329,-0.082 0.361,-0.13 0.361,-0.226C0.361,-0.326 0.329,-0.376 0.264,-0.376C0.199,-0.376 0.167,-0.326 0.167,-0.226C0.167,-0.13 0.199,-0.082 0.264,-0.082Z" style="fill:rgb(33,133,208);fill-rule:nonzero;"/>
</g>
<g transform="matrix(26.3007,0,0,26.3007,66.0573,33.1733)">
<path d="M0.449,-0.058C0.402,-0.011 0.346,0.012 0.281,0.012C0.204,0.012 0.142,-0.013 0.097,-0.062C0.058,-0.105 0.038,-0.16 0.038,-0.225C0.038,-0.298 0.063,-0.358 0.114,-0.405C0.158,-0.446 0.212,-0.466 0.275,-0.466C0.345,-0.466 0.401,-0.444 0.444,-0.4L0.406,-0.332C0.372,-0.362 0.335,-0.377 0.295,-0.377C0.258,-0.377 0.227,-0.363 0.203,-0.334C0.179,-0.305 0.167,-0.267 0.167,-0.222C0.167,-0.18 0.179,-0.146 0.203,-0.118C0.226,-0.092 0.256,-0.078 0.293,-0.078C0.337,-0.078 0.375,-0.094 0.406,-0.127L0.449,-0.058Z" style="fill:rgb(33,133,208);fill-rule:nonzero;"/>
</g>
<g transform="matrix(26.3007,0,0,26.3007,77.5507,33.1733)">
<path d="M0.364,-0.052C0.331,-0.009 0.285,0.012 0.227,0.012C0.17,0.012 0.129,-0.003 0.105,-0.033C0.08,-0.062 0.068,-0.112 0.068,-0.182L0.068,-0.454L0.192,-0.454L0.192,-0.215C0.192,-0.17 0.198,-0.138 0.21,-0.119C0.222,-0.101 0.243,-0.092 0.272,-0.092C0.285,-0.092 0.299,-0.095 0.315,-0.102C0.331,-0.109 0.341,-0.116 0.344,-0.123L0.344,-0.454L0.47,-0.454L0.47,0L0.376,0L0.365,-0.052L0.364,-0.052Z" style="fill:rgb(33,133,208);fill-rule:nonzero;"/>
</g>
<g transform="matrix(26.3007,0,0,26.3007,90.6485,33.1733)">
<path d="M0.189,-0.41C0.226,-0.447 0.273,-0.466 0.329,-0.466C0.368,-0.466 0.402,-0.458 0.432,-0.442C0.461,-0.425 0.482,-0.403 0.493,-0.376C0.508,-0.403 0.531,-0.424 0.562,-0.441C0.593,-0.458 0.626,-0.466 0.663,-0.466C0.77,-0.466 0.823,-0.401 0.823,-0.272L0.823,0L0.696,0L0.696,-0.238C0.696,-0.283 0.69,-0.314 0.677,-0.333C0.664,-0.351 0.642,-0.36 0.611,-0.36C0.567,-0.36 0.531,-0.343 0.504,-0.308L0.504,0L0.378,0L0.378,-0.252C0.378,-0.291 0.371,-0.319 0.357,-0.336C0.343,-0.352 0.319,-0.36 0.285,-0.36C0.265,-0.36 0.246,-0.357 0.229,-0.351C0.211,-0.345 0.199,-0.338 0.194,-0.329L0.194,0L0.068,0L0.068,-0.454L0.175,-0.454L0.184,-0.41L0.189,-0.41Z" style="fill:rgb(33,133,208);fill-rule:nonzero;"/>
</g>
<g transform="matrix(26.3007,0,0,26.3007,112.899,33.1733)">
<path d="M0.488,-0.186L0.176,-0.186C0.179,-0.155 0.191,-0.13 0.214,-0.11C0.236,-0.089 0.262,-0.079 0.293,-0.079C0.336,-0.079 0.382,-0.092 0.429,-0.119L0.461,-0.052C0.413,-0.009 0.353,0.012 0.281,0.012C0.204,0.012 0.143,-0.01 0.1,-0.054C0.059,-0.095 0.038,-0.152 0.038,-0.225C0.038,-0.296 0.061,-0.355 0.108,-0.402C0.15,-0.445 0.203,-0.466 0.268,-0.466C0.34,-0.466 0.396,-0.442 0.436,-0.393C0.471,-0.352 0.488,-0.298 0.488,-0.232L0.488,-0.186ZM0.169,-0.279L0.362,-0.279C0.359,-0.344 0.327,-0.377 0.267,-0.377C0.209,-0.377 0.176,-0.344 0.169,-0.279Z" style="fill:rgb(33,133,208);fill-rule:nonzero;"/>
</g>
<g transform="matrix(26.3007,0,0,26.3007,125.681,33.1733)">
<path d="M0.19,-0.41C0.203,-0.425 0.223,-0.439 0.25,-0.45C0.277,-0.461 0.302,-0.466 0.326,-0.466C0.383,-0.466 0.425,-0.45 0.451,-0.419C0.476,-0.388 0.489,-0.337 0.489,-0.267L0.489,0L0.362,0L0.362,-0.262C0.362,-0.327 0.333,-0.36 0.275,-0.36C0.26,-0.36 0.245,-0.357 0.228,-0.35C0.211,-0.344 0.2,-0.337 0.194,-0.329L0.194,0L0.068,0L0.068,-0.454L0.175,-0.454C0.178,-0.437 0.182,-0.422 0.185,-0.41L0.19,-0.41Z" style="fill:rgb(33,133,208);fill-rule:nonzero;"/>
</g>
<g transform="matrix(26.3007,0,0,26.3007,138.884,33.1733)">
<path d="M0.352,-0.353L0.222,-0.353L0.222,-0.128C0.222,-0.095 0.233,-0.078 0.255,-0.078C0.275,-0.078 0.3,-0.087 0.33,-0.104L0.372,-0.04C0.325,-0.003 0.272,0.016 0.215,0.016C0.135,0.016 0.095,-0.028 0.095,-0.116L0.095,-0.353L0.032,-0.353L0.032,-0.454L0.096,-0.454L0.096,-0.535C0.129,-0.553 0.172,-0.575 0.223,-0.602L0.223,-0.454L0.352,-0.454L0.352,-0.353Z" style="fill:rgb(33,133,208);fill-rule:nonzero;"/>
</g>
<g transform="matrix(26.3007,0,0,26.3007,148.273,33.1733)">
<path d="M0.434,0L0.333,0L0.323,-0.043C0.279,-0.006 0.234,0.012 0.189,0.012C0.088,0.012 0.038,-0.037 0.038,-0.135C0.038,-0.184 0.059,-0.222 0.101,-0.249C0.144,-0.277 0.207,-0.291 0.29,-0.291L0.311,-0.291L0.311,-0.293C0.311,-0.322 0.305,-0.341 0.293,-0.352C0.281,-0.363 0.259,-0.368 0.228,-0.368C0.184,-0.368 0.144,-0.354 0.107,-0.326C0.095,-0.348 0.084,-0.37 0.073,-0.391C0.111,-0.42 0.144,-0.44 0.172,-0.451C0.201,-0.461 0.235,-0.466 0.274,-0.466C0.381,-0.466 0.434,-0.399 0.434,-0.266L0.434,0ZM0.307,-0.214L0.292,-0.214C0.254,-0.214 0.223,-0.207 0.2,-0.194C0.177,-0.181 0.165,-0.163 0.165,-0.141C0.165,-0.1 0.183,-0.079 0.219,-0.079C0.241,-0.079 0.26,-0.085 0.277,-0.098C0.294,-0.111 0.304,-0.127 0.307,-0.146L0.307,-0.214Z" style="fill:rgb(33,133,208);fill-rule:nonzero;"/>
</g>
<g transform="matrix(26.3007,0,0,26.3007,160.424,33.1733)">
<path d="M0.352,-0.353L0.222,-0.353L0.222,-0.128C0.222,-0.095 0.233,-0.078 0.255,-0.078C0.275,-0.078 0.3,-0.087 0.33,-0.104L0.372,-0.04C0.325,-0.003 0.272,0.016 0.215,0.016C0.135,0.016 0.095,-0.028 0.095,-0.116L0.095,-0.353L0.032,-0.353L0.032,-0.454L0.096,-0.454L0.096,-0.535C0.129,-0.553 0.172,-0.575 0.223,-0.602L0.223,-0.454L0.352,-0.454L0.352,-0.353Z" style="fill:rgb(33,133,208);fill-rule:nonzero;"/>
</g>
<g transform="matrix(26.3007,0,0,26.3007,169.814,33.1733)">
<path d="M0.19,-0.454L0.19,0L0.063,0L0.063,-0.454L0.19,-0.454ZM0.048,-0.57C0.048,-0.591 0.056,-0.61 0.07,-0.625C0.086,-0.641 0.103,-0.649 0.124,-0.649C0.146,-0.649 0.165,-0.641 0.181,-0.626C0.196,-0.611 0.204,-0.592 0.204,-0.57C0.204,-0.547 0.197,-0.528 0.182,-0.513C0.167,-0.498 0.147,-0.491 0.124,-0.491C0.102,-0.491 0.084,-0.499 0.07,-0.514C0.055,-0.529 0.048,-0.547 0.048,-0.57Z" style="fill:rgb(33,133,208);fill-rule:nonzero;"/>
</g>
<g transform="matrix(26.3007,0,0,26.3007,175.389,33.1733)">
<path d="M0.264,-0.466C0.339,-0.466 0.397,-0.44 0.438,-0.387C0.473,-0.343 0.49,-0.289 0.49,-0.226C0.49,-0.152 0.464,-0.092 0.413,-0.046C0.37,-0.007 0.321,0.012 0.264,0.012C0.198,0.012 0.143,-0.013 0.098,-0.062C0.058,-0.107 0.038,-0.161 0.038,-0.226C0.038,-0.299 0.06,-0.359 0.105,-0.404C0.146,-0.445 0.199,-0.466 0.264,-0.466ZM0.264,-0.082C0.329,-0.082 0.361,-0.13 0.361,-0.226C0.361,-0.326 0.329,-0.376 0.264,-0.376C0.199,-0.376 0.167,-0.326 0.167,-0.226C0.167,-0.13 0.199,-0.082 0.264,-0.082Z" style="fill:rgb(33,133,208);fill-rule:nonzero;"/>
</g>
<g transform="matrix(26.3007,0,0,26.3007,188.224,33.1733)">
<path d="M0.19,-0.41C0.203,-0.425 0.223,-0.439 0.25,-0.45C0.277,-0.461 0.302,-0.466 0.326,-0.466C0.383,-0.466 0.425,-0.45 0.451,-0.419C0.476,-0.388 0.489,-0.337 0.489,-0.267L0.489,0L0.362,0L0.362,-0.262C0.362,-0.327 0.333,-0.36 0.275,-0.36C0.26,-0.36 0.245,-0.357 0.228,-0.35C0.211,-0.344 0.2,-0.337 0.194,-0.329L0.194,0L0.068,0L0.068,-0.454L0.175,-0.454C0.178,-0.437 0.182,-0.422 0.185,-0.41L0.19,-0.41Z" style="fill:rgb(33,133,208);fill-rule:nonzero;"/>
</g>
</g>
</g>
</g>
</g>
<defs>
<linearGradient id="_Linear1" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(56.051,111.858,-111.858,56.051,42519.3,-7078.79)"><stop offset="0" style="stop-color:white;stop-opacity:0"/><stop offset="0.5" style="stop-color:rgb(113,194,255);stop-opacity:0.5"/><stop offset="1" style="stop-color:rgb(57,170,255);stop-opacity:0.5"/></linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 10 KiB

View file

@ -0,0 +1,123 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"
sodipodi:docname="codeberg-favicon.svg"
id="svg1468"
version="1.1"
viewBox="0 0 4.2150375 4.2150376"
height="15.93085"
width="15.930851">
<defs
id="defs1462">
<linearGradient
gradientUnits="userSpaceOnUse"
y2="-6966.9307"
x2="42575.336"
y1="-7078.7891"
x1="42519.285"
id="linearGradient6918"
xlink:href="#linearGradient6924" />
<linearGradient
id="linearGradient6924">
<stop
id="stop6920"
offset="0"
style="stop-color:#2185d0;stop-opacity:0" />
<stop
style="stop-color:#2185d0;stop-opacity:0.48923996"
offset="0.49517274"
id="stop6926" />
<stop
id="stop6922"
offset="1"
style="stop-color:#2185d0;stop-opacity:0.63279623" />
</linearGradient>
</defs>
<sodipodi:namedview
showguides="true"
inkscape:snap-page="true"
inkscape:snap-global="true"
units="px"
fit-margin-bottom="0.64969"
fit-margin-right="0"
fit-margin-left="0"
fit-margin-top="0"
showgrid="false"
inkscape:document-rotation="0"
inkscape:current-layer="layer1"
inkscape:document-units="px"
inkscape:cy="14.621"
inkscape:cx="-3.0265425"
inkscape:zoom="32"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base"
inkscape:snap-bbox="true"
inkscape:bbox-paths="true"
inkscape:bbox-nodes="true"
inkscape:snap-bbox-edge-midpoints="true"
inkscape:snap-bbox-midpoints="true"
inkscape:window-width="3200"
inkscape:window-height="1672"
inkscape:window-x="0"
inkscape:window-y="54"
inkscape:window-maximized="1">
<inkscape:grid
id="grid2067"
type="xygrid"
originx="-0.0091209171"
originy="0.11900229" />
</sodipodi:namedview>
<metadata
id="metadata1465">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
transform="translate(-44.876583,-76.12794)"
id="layer1"
inkscape:groupmode="layer"
inkscape:label="Layer 1">
<ellipse
style="fill:#ffffff;fill-opacity:0.98991939;stroke-width:0.26458332"
id="path4524"
cx="46.9841"
cy="78.235458"
rx="2.1075189"
ry="2.1075187" />
<g
transform="matrix(0.09136496,0,0,0.09136496,-980.82243,248.23174)"
id="g6933">
<path
id="path6733"
style="opacity:0.5;vector-effect:none;fill:url(#linearGradient6918);fill-opacity:1;stroke:none;stroke-width:3.67845988;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:2;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:stroke markers fill"
d="m 42519.285,-7078.7891 a 0.76086879,0.56791688 0 0 0 -0.738,0.6739 l 33.586,125.8886 a 87.182358,87.182358 0 0 0 39.381,-33.7636 l -71.565,-92.5196 a 0.76086879,0.56791688 0 0 0 -0.664,-0.2793 z"
transform="scale(0.26458333)"
inkscape:connector-curvature="0" />
<path
transform="scale(0.26458333)"
id="circle6810"
style="opacity:1;fill:#2185d0;fill-opacity:1;stroke:none;stroke-width:2.01452994px;stroke-opacity:1;paint-order:stroke markers fill"
d="m 42517.32,-7119.4805 a 87.182358,87.182358 0 0 0 -86.855,87.1817 87.182358,87.182358 0 0 0 13.312,46.3047 l 72.688,-93.9727 a 1.3609979,1.0158567 0 0 1 2.359,0 l 72.692,93.9766 a 87.182358,87.182358 0 0 0 13.314,-46.3086 87.182358,87.182358 0 0 0 -87.182,-87.1817 87.182358,87.182358 0 0 0 -0.328,0 z"
inkscape:connector-curvature="0" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.3 KiB

View file

@ -0,0 +1,100 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"
sodipodi:docname="codeberg-dark.svg"
id="svg9965"
version="1.1"
viewBox="0 0 55.621185 55.621193"
width="55.621185"
height="55.621193">
<metadata
id="metadata9971">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs9969">
<linearGradient
xlink:href="#linearGradient6924"
id="linearGradient6918"
x1="42519.285"
y1="-7078.7891"
x2="42575.336"
y2="-6966.9307"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient6924">
<stop
style="stop-color:#ffffff;stop-opacity:0"
offset="0"
id="stop6920" />
<stop
id="stop6926"
offset="0.49517274"
style="stop-color:#ffffff;stop-opacity:0.5" />
<stop
style="stop-color:#fdfeff;stop-opacity:1"
offset="1"
id="stop6922" />
</linearGradient>
</defs>
<sodipodi:namedview
inkscape:current-layer="svg9965"
inkscape:cy="72.714836"
inkscape:cx="44.928006"
inkscape:zoom="7.2407734"
showgrid="false"
id="namedview9967"
inkscape:window-height="1672"
inkscape:window-width="3200"
inkscape:pageshadow="2"
inkscape:pageopacity="0"
guidetolerance="10"
gridtolerance="10"
objecttolerance="10"
borderopacity="1"
bordercolor="#666666"
pagecolor="#ffffff"
fit-margin-bottom="2.26835"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
inkscape:window-x="0"
inkscape:window-y="54"
inkscape:window-maximized="1" />
<!-- outline -->
<!-- small shadow -->
<!-- mountain in foreground -->
<!-- text -->
<g
transform="matrix(1.2056422,0,0,1.2056422,-13535.014,2271.0633)"
id="g6933">
<path
transform="scale(0.26458333)"
d="m 42519.285,-7078.7891 a 0.76086879,0.56791688 0 0 0 -0.738,0.6739 l 33.586,125.8886 a 87.182358,87.182358 0 0 0 39.381,-33.7636 l -71.565,-92.5196 a 0.76086879,0.56791688 0 0 0 -0.664,-0.2793 z"
style="opacity:0.5;vector-effect:none;fill:url(#linearGradient6918);fill-opacity:1;stroke:none;stroke-width:3.67845988;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:2;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:stroke markers fill"
id="path6733"
inkscape:connector-curvature="0" />
<path
transform="scale(0.26458333)"
d="m 42517.32,-7119.4805 a 87.182358,87.182358 0 0 0 -86.855,87.1817 87.182358,87.182358 0 0 0 13.312,46.3047 l 72.688,-93.9727 a 1.3609979,1.0158567 0 0 1 2.359,0 l 72.692,93.9766 a 87.182358,87.182358 0 0 0 13.314,-46.3086 87.182358,87.182358 0 0 0 -87.182,-87.1817 87.182358,87.182358 0 0 0 -0.328,0 z"
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.01452994px;stroke-opacity:1;paint-order:stroke markers fill"
id="circle6810"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.6 KiB

View file

@ -0,0 +1,100 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
sodipodi:docname="codeberg.svg"
id="svg10"
version="1.1"
viewBox="0 0 100 58">
<metadata
id="metadata16">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs14">
<linearGradient
xlink:href="#linearGradient6924"
id="linearGradient6918"
x1="42519.285"
y1="-7078.7891"
x2="42575.336"
y2="-6966.9307"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient6924">
<stop
style="stop-color:#ffffff;stop-opacity:0"
offset="0"
id="stop6920" />
<stop
id="stop6926"
offset="0.49517274"
style="stop-color:#71c2ff;stop-opacity:1" />
<stop
style="stop-color:#39aaff;stop-opacity:1"
offset="1"
id="stop6922" />
</linearGradient>
</defs>
<sodipodi:namedview
inkscape:current-layer="svg10"
inkscape:cy="17.573059"
inkscape:cx="45.102208"
inkscape:zoom="6.6465517"
showgrid="false"
id="namedview12"
inkscape:window-height="480"
inkscape:window-width="640"
inkscape:pageshadow="2"
inkscape:pageopacity="0"
guidetolerance="10"
gridtolerance="10"
objecttolerance="10"
borderopacity="1"
bordercolor="#666666"
pagecolor="#ffffff" />
<!-- outline -->
<!-- small shadow -->
<!-- mountain in foreground -->
<!-- text -->
<g
transform="matrix(0.49902103,0,0,0.49902103,16.383035,-5.830387)"
id="layer1">
<g
transform="matrix(1.4006354,0,0,1.4006354,-15690.065,2662.0533)"
id="g6939">
<path
transform="scale(0.26458333)"
d="m 42405.785,-6929.3027 c -6.178,0 -11.002,2.0754 -14.474,6.2246 -3.518,4.1491 -5.278,9.6275 -5.278,16.4375 0,5.2313 1.286,9.7874 3.856,13.666 3.563,5.4118 8.974,8.1172 16.236,8.1172 5.049,0 9.447,-1.872 13.191,-5.6153 l -3.451,-5.3437 c -3.336,2.1198 -6.221,3.1797 -8.658,3.1797 -3.699,0 -6.653,-1.4205 -8.863,-4.2617 -2.074,-2.7062 -3.112,-5.9541 -3.112,-9.7422 0,-4.2845 0.88,-7.7572 2.639,-10.418 2.031,-3.1118 4.894,-4.668 8.59,-4.668 2.661,0 5.615,1.1725 8.863,3.5176 l 3.451,-5.6133 c -4.331,-3.653 -8.661,-5.4804 -12.99,-5.4804 z m 122.604,0 -8.522,4.8027 v 38.8301 h 6.901 l 0.677,-3.043 c 2.074,2.5706 5.004,3.8555 8.791,3.8555 3.835,0 7.061,-1.1512 9.676,-3.4512 3.336,-3.0216 5.004,-7.4634 5.004,-13.3262 0,-4.5551 -1.126,-8.208 -3.379,-10.959 -2.572,-3.1118 -6.136,-4.6679 -10.689,-4.6679 -1.626,0 -3.114,0.3158 -4.467,0.9472 -1.714,0.8116 -3.045,1.9396 -3.992,3.3829 z m -45.871,0.1347 -8.528,4.7364 v 9.8086 c -2.119,-1.7137 -4.734,-2.5704 -7.845,-2.5704 -3.609,0 -6.698,1.1958 -9.268,3.586 -3.427,3.202 -5.141,7.7561 -5.141,13.664 0,4.1943 1.061,7.6225 3.18,10.2832 2.525,3.2021 6.198,4.8028 11.023,4.8028 1.716,0 3.386,-0.3837 5.008,-1.1504 1.623,-0.7665 2.797,-1.7356 3.52,-2.9082 l 1.217,3.2461 h 6.834 z m -47.993,11.9746 c -4.422,0 -8.008,1.3973 -10.757,4.1934 -3.024,3.0667 -4.536,7.0803 -4.536,12.041 0,4.3747 1.353,8.0741 4.059,11.0957 3.024,3.3373 6.77,5.0059 11.234,5.0059 3.833,0 7.192,-1.3082 10.077,-3.9238 3.474,-3.1119 5.21,-7.1717 5.21,-12.1778 0,-4.2842 -1.171,-7.9141 -3.517,-10.8906 -2.797,-3.5628 -6.72,-5.3438 -11.77,-5.3438 z m 67.071,0 c -4.374,0 -7.982,1.4438 -10.825,4.3301 -3.157,3.1569 -4.736,7.1472 -4.736,11.9727 0,4.9159 1.399,8.7722 4.195,11.5683 2.933,2.9765 7.016,4.4649 12.247,4.4649 4.87,0 8.929,-1.4438 12.177,-4.3301 l -2.166,-4.5313 c -3.202,1.8039 -6.269,2.7051 -9.199,2.7051 -2.076,0 -3.88,-0.6764 -5.412,-2.0293 -1.494,-1.3981 -2.33,-3.1345 -2.506,-5.209 h 21.109 v -3.1113 c 0,-4.4649 -1.173,-8.0965 -3.519,-10.8926 -2.706,-3.2922 -6.495,-4.9375 -11.365,-4.9375 z m 67.666,0 c -4.374,0 -7.982,1.4438 -10.824,4.3301 -3.158,3.1569 -4.737,7.1472 -4.737,11.9727 0,4.9159 1.399,8.7722 4.195,11.5683 2.931,2.9765 7.013,4.4649 12.247,4.4649 4.87,0 8.928,-1.4438 12.173,-4.3301 l -2.162,-4.5313 c -3.202,1.8039 -6.27,2.7051 -9.203,2.7051 -2.074,0 -3.877,-0.6764 -5.412,-2.0293 -1.492,-1.3981 -2.326,-3.1345 -2.502,-5.209 h 21.108 v -3.1113 c 0,-4.4649 -1.172,-8.0965 -3.518,-10.8926 -2.706,-3.2922 -6.495,-4.9375 -11.365,-4.9375 z m 33.017,0 c -1.353,0 -2.684,0.3604 -3.992,1.0821 -1.265,0.6763 -2.121,1.4884 -2.572,2.4355 l -0.811,-2.7051 h -7.24 v 30.711 h 8.391 v -22.0528 c 0.72,-1.5785 1.848,-2.3671 3.383,-2.3671 1.668,0 3.245,0.8564 4.734,2.5703 l 7.17,-3.9239 c -1.986,-3.8334 -5.006,-5.75 -9.063,-5.75 z m 22.016,0 c -3.563,0 -6.654,1.1958 -9.272,3.586 -3.426,3.202 -5.14,7.7561 -5.14,13.664 0,4.1492 1.06,7.5774 3.179,10.2832 2.482,3.2021 5.979,4.8028 10.489,4.8028 3.696,0 6.559,-1.5116 8.59,-4.5332 0,6.7648 -2.435,10.1484 -7.305,10.1484 -3.429,0 -6.519,-0.9029 -9.268,-2.707 l -2.166,4.3301 c 3.563,3.2471 7.78,4.8711 12.651,4.8711 4.689,0 8.297,-1.3758 10.824,-4.127 2.57,-2.7961 3.855,-6.7883 3.855,-11.9746 v -27.5313 h -6.562 l -0.676,3.3145 c 0,-0.451 -0.653,-1.1273 -1.961,-2.0293 -1.985,-1.3979 -4.398,-2.0977 -7.238,-2.0977 z m -122.768,6.0215 c 4.06,0 6.203,2.2094 6.43,6.6289 h -13.059 c 0.497,-4.4195 2.706,-6.6289 6.629,-6.6289 z m 67.666,0 c 4.057,0 6.199,2.2094 6.426,6.6289 h -13.055 c 0.497,-4.4195 2.706,-6.6289 6.629,-6.6289 z m -134.668,0.066 c 4.375,0 6.561,3.3819 6.561,10.1465 0,6.4943 -2.186,9.7422 -6.561,9.7422 -4.376,0 -6.566,-3.2479 -6.566,-9.7422 0,-6.7646 2.19,-10.1465 6.566,-10.1465 z m 33.446,0 c 1.489,0 2.774,0.4963 3.857,1.4883 1.126,0.9472 1.847,2.1642 2.162,3.6524 v 8.5918 c -0.224,1.6685 -1.035,3.1568 -2.433,4.4648 -1.399,1.2626 -2.909,1.8945 -4.532,1.8945 -4.374,0 -6.562,-3.3603 -6.562,-10.0801 0,-3.0667 0.678,-5.5008 2.031,-7.3046 1.353,-1.8039 3.179,-2.7071 5.477,-2.7071 z m 158.15,0 c 1.444,0 2.75,0.5196 3.922,1.5567 1.222,0.9922 1.921,2.186 2.098,3.584 v 7.7812 c 0,1.9392 -0.677,3.629 -2.03,5.0723 -1.353,1.3979 -2.953,2.0976 -4.802,2.0976 -4.42,0 -6.631,-3.3603 -6.631,-10.0801 0,-3.0667 0.678,-5.5008 2.031,-7.3046 1.353,-1.8039 3.157,-2.7071 5.412,-2.7071 z m -90.898,0.068 c 2.073,0 3.697,0.9012 4.871,2.7051 1.171,1.8038 1.758,4.2612 1.758,7.373 0,3.1569 -0.631,5.6393 -1.893,7.4434 -1.262,1.8038 -2.976,2.7051 -5.141,2.7051 -1.67,0 -3.138,-0.5641 -4.4,-1.6915 -1.227,-1.1275 -1.903,-2.5248 -2.029,-4.1933 v -7.375 c 0,-1.9392 0.655,-3.5844 1.963,-4.9375 1.353,-1.3528 2.976,-2.0293 4.871,-2.0293 z"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:17.8986px;line-height:1.25;font-family:Tajawal;-inkscape-font-specification:'Tajawal Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;letter-spacing:-0.284861px;word-spacing:0px;fill:#2185d0;fill-opacity:1;stroke:none;stroke-width:1.69121"
id="path6736" />
<g
id="g6933">
<path
id="path6733"
style="font-variation-settings:normal;opacity:0.5;vector-effect:none;fill:url(#linearGradient6918);fill-opacity:1;stroke:none;stroke-width:3.67846;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:2;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:stroke markers fill;stop-color:#000000;stop-opacity:1"
d="m 42519.285,-7078.7891 a 0.76086879,0.56791688 0 0 0 -0.738,0.6739 l 33.586,125.8886 a 87.182358,87.182358 0 0 0 39.381,-33.7636 l -71.565,-92.5196 a 0.76086879,0.56791688 0 0 0 -0.664,-0.2793 z"
transform="scale(0.26458333)" />
<path
id="circle6810"
style="opacity:1;fill:#2185d0;fill-opacity:1;stroke:none;stroke-width:2.01453px;stroke-opacity:1;paint-order:stroke markers fill;stop-color:#000000"
d="m 42517.32,-7119.4805 a 87.182358,87.182358 0 0 0 -86.855,87.1817 87.182358,87.182358 0 0 0 13.312,46.3047 l 72.688,-93.9727 a 1.3609979,1.0158567 0 0 1 2.359,0 l 72.692,93.9766 a 87.182358,87.182358 0 0 0 13.314,-46.3086 87.182358,87.182358 0 0 0 -87.182,-87.1817 87.182358,87.182358 0 0 0 -0.328,0 z"
transform="scale(0.26458333)" />
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 8.5 KiB

View file

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 61 KiB

30
assets/js/sidebar.js Normal file
View file

@ -0,0 +1,30 @@
function getSidebar() {
return document.querySelector("#sidebar")
}
function hideSidebar() {
resetSidebarAnimation()
getSidebar().style.animation = "slideSidebar 0.5s ease-in-out reverse backwards"
}
function showSidebar() {
resetSidebarAnimation()
const sidebar = getSidebar()
sidebar.classList.add("sidebar-in")
sidebar.style.animation = "slideSidebar 0.5s ease-in-out normal forwards"
}
function resetSidebarAnimation() {
const sidebar = getSidebar()
sidebar.classList.remove("sidebar-in")
sidebar.style.animation = "none"
void sidebar.offsetWidth // Needed to restart animation
}
function toggleSidebar() {
if (getSidebar().classList.contains("sidebar-in"))
hideSidebar()
else
showSidebar()
}

3
content/_data/urls.json Normal file
View file

@ -0,0 +1,3 @@
{
"docsSourcesMaster": "https://codeberg.org/lhinderberger/codeberg-docs/src/branch/master"
}

View file

@ -0,0 +1,87 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>{% if eleventyNavigation.title %}{{ eleventyNavigation.title }} | {% endif %}Codeberg Documentation Prototype</title>
<meta charset="UTF-8">
{% if description %}<meta name="description" content="{{ description }}">{% endif %}
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg+xml" href="/assets/images/logo/codeberg-favicon.svg" sizes="250x250">
<link rel="stylesheet" type="text/css" href="/assets/css/codeberg-docs.css">
<link rel="stylesheet" type="text/css" href="/assets/css/prism-nord.css">
<link rel="stylesheet" type="text/css" href="/assets/css/webfont-declarations/fontawesome5-free-solid.css">
<link rel="stylesheet" type="text/css" href="/assets/css/webfont-declarations/rubik.css">
<link rel="stylesheet" type="text/css" href="/assets/css/webfont-declarations/tajawal.css">
<link rel="stylesheet" type="text/css" href="/fonts/FontAwesome5FreeSolid/fontawesome.min.css">
<script type="text/javascript" src="/assets/js/sidebar.js"></script>
</head>
<body>
<header>
<div class="container">
<div id="header-logo">
<a href="/"><img src="/assets/images/logo/codeberg-docs.svg" alt="Codeberg Documentation"></a>
</div>
<div id="header-buttons">
<!--<a href="#">{% fas_icon "globe-europe" %} English</a>-->
<a href="{{ urls.docsSourcesMaster }}/{{ page.inputPath }}" target="_blank">{% fas_icon "code" %} View Source</a>
<a href="#" id="contents-button" onclick="toggleSidebar()">{% fas_icon "bars" %}</a>
</div>
</div>
</header>
<main>
<div class="container">
<div id="sidebar">
<nav>
<div class="sidebar-close-button"><a href="#" onclick="hideSidebar()">{% fas_icon "times-circle" %}</a></div>
<ul>
{% for entry in collections.all | eleventyNavigation %}
{% set active = entry.url == page.url or entry.key == eleventyNavigation.parent %}
{% if (not entry.draft) or active %}
<li class="nav-section{% if active %} active{% endif %}">
<a href="{{ entry.url }}">{% fas_icon entry.icon | default("caret-right") %} {{ entry.title }}</a>
</li>
{% if active and entry.children.length > 0 %}
<li class="nav-second-level">
<ul>
{% for child in entry.children %}
{% set child_active = child.url == page.url %}
{% if child_active or not child.draft %}
<li><a href="{{ child.url }}"{% if child_active %} class="active"{% endif %}>{{ child.title }}</a></li>
{% endif %}
{% endfor %}
</ul>
</li>
{% endif %}
{% endif %}
{%- endfor %}
</ul>
</nav>
</div>
<article>
{% if eleventyNavigation.title %}<h1>{{ eleventyNavigation.title }}</h1>{% endif %}
{% if eleventyNavigation.draft %}<strong>Please note that this article is still a draft and might not have any contents yet.</strong>{% endif %}
{{ content | safe }}
</article>
</div>
</main>
<footer>
<p>
This Website by <a href="{{ urls.docsSourcesMaster }}/CONTRIBUTORS.md">The Codeberg Documentation Contributors</a> is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">CC-BY-SA 4.0</a>.<br>
It bundles third-party font software licensed under a different license.<br>
Please look at <a href="{{ urls.docsSourcesMaster }}/LICENSE.md">the LICENSE file</a> for details.
</p>
<p>
Codeberg and the Codeberg Logo are trademarks of Codeberg e.V.
</p>
</footer>
</body>
</html>

View file

@ -1,10 +1,11 @@
---
title: "Including images in wiki pages"
eleventyNavigation:
key: ThirdPartyTools
title: Including images in wiki pages
parent: AdvancedUsage
---
# Including images in wiki pages
### Upload images via git
## Upload images via git
Currently, gitea supports only images in the base directory of the wiki git. (Gitea wiki pages are stored in a separate wiki right beside the project, wiki pages themselves are markdown files).

13
content/advanced/index.md Normal file
View file

@ -0,0 +1,13 @@
---
eleventyNavigation:
key: AdvancedUsage
title: Advanced Usage
icon: puzzle-piece
order: 65
---
These documentation pages contain tips and tricks for diving more deeply into
the more advanced features of Codeberg.
See also the [documentation of Gitea](https://docs.gitea.io), the software which
Codeberg is based on.

View file

@ -1,6 +1,8 @@
---
title: "Third Party Tools"
eleventyNavigation:
key: ThirdPartyTools
title: Third-Party Tools
parent: AdvancedUsage
---
# Third-party tools
Check out [awesome-gitea](https://gitea.com/gitea/awesome-gitea/src/branch/master/README.md) for a comprehensive list of tools that work with Codeberg!

View file

@ -0,0 +1,8 @@
---
eleventyNavigation:
key: CodebergPages
title: Codeberg Pages
icon: server
order: 60
draft: true
---

View file

@ -0,0 +1,10 @@
---
eleventyNavigation:
key: Collaborating
title: Collaborating with Others
icon: user-friends
order: 30
---
These documentation pages contain information on how you can collaborate on Codeberg,
for example [by making Pull Requests](/collaborating/pull-requests-and-git-flow).

View file

@ -1,9 +1,10 @@
---
title: "Pull requests and Git flow"
eleventyNavigation:
key: PullRequestsGitFlow
title: Pull requests and Git flow
parent: Collaborating
---
# Pull requests and Git flow
## Benefits of a pull-request based workflow
> ***TLDR:*** *Keep an eye on your repository and org permissions. Don't take sweets from strangers. Use pull requests. Easy to review, easy to manage, and only the project maintainers/owners need full access to the repo to merge them.*
@ -19,9 +20,9 @@ Let's say, you would like to contribute to project [https://codeberg.org/Codeber
First, fork the project you would like to work on, by clicking the `fork` button on the top-right corner of the project page:
![Fork a project](fork-button.png)
![Fork a project](/assets/images/collaborating/pull-requests-and-git-flow/fork-button.png)
Then clone it onto your local machine. We assume that you have set up your SSH keys as described in [SSH-key-for-Codeberg](https://codeberg.org/Codeberg/Documentation/wiki/SSH-key-for-Codeberg). This has to be done only once:
Then clone it onto your local machine. We assume that [you have set up your SSH keys](/security/ssh-key). This has to be done only once:
```shell
git clone git@codeberg.org:<YOURCODEBERGUSERNAME>/build-deploy-gitea.git
@ -45,7 +46,7 @@ git push
Now you can create the pull request by selecting your feature branch, and clicking on the pull request button:
![Create a pull request](pull-request-button.png)
![Create a pull request](/assets/images/collaborating/pull-requests-and-git-flow/pull-request-button.png)
### Keep it up-to-date: rebase pull requests to upstream

16
content/contact.md Normal file
View file

@ -0,0 +1,16 @@
---
eleventyNavigation:
key: Contact
title: Contact
icon: envelope
order: 90
---
## Questions and Issues
If you have questions or found any issues with Codeberg, please create an [issue on Codeberg/Community](https://codeberg.org/Codeberg/Community/issues).
## Email
For direct contact, you can write an email to [contact@codeberg.org](mailto:contact@codeberg.org).
## Legal inquiries
For legal inquiries, please refer to the [Imprint](https://codeberg.org/codeberg/org/src/branch/master/Imprint.md).

View file

@ -0,0 +1 @@
{ "layout": "default_layout" }

8
content/faq.md Normal file
View file

@ -0,0 +1,8 @@
---
eleventyNavigation:
key: FAQ
title: Frequently Asked Questions
icon: question
order: 80
draft: true
---

View file

@ -0,0 +1,8 @@
---
eleventyNavigation:
key: CreatingAccount
title: Creating an Account
parent: GettingStarted
order: 20
draft: true
---

View file

@ -1,40 +1,43 @@
---
title: "Create a repository"
---
# Create a Codeberg repository
To create a new repository you need to login into your account on Codeberg.org.
After login you can use one of the two buttons shown in the two following pictures.
![Create repository 01](create-repo-01.png)
![Create repository 02](create-repo-02.png)
Note it is not possible to use your git on your local machine to push a fresh repository on Codeberg.
# Connect a local repository to Codeberg
Keep in mind that you first need to create a repository on Codeberg as stated in the section before.
## Optional: Create the local repository
If you don't have an existing git repository on your local machine that you can create one.
```
mkdir ~/playground
cd ~/playground
touch README.md
git init
git add README.md
git commit -m "first commit"
```
## Declare Codeberg repository as 'origin'
Your local repository need to know where the remote one is. It is usual and common to name it `origin`. The string `origin` could be desribed as an alias for the remote repository on the Codeberg server.
Now you have two protocol variantes to connect: SSH and HTTPS.
**Variant - SSH**
```
$ git remote add origin ssh://git@codeberg.org/JohnDoe/playground.git
```
**Variant - HTTPS**
```
$ git remote add origin https://codeberg.org/JohnDoe/playground.git
```
---
eleventyNavigation:
key: FirstRepository
title: Your first Repository
parent: GettingStarted
order: 30
---
To create a new repository you need to login into your account on Codeberg.org.
After login you can use one of the two buttons shown in the two following pictures.
![Create repository 01](/assets/images/getting-started/first-repository/create-repo-01.png)
![Create repository 02](/assets/images/getting-started/first-repository/create-repo-02.png)
Note it is not possible to use your git on your local machine to push a fresh repository on Codeberg.
# Connect a local repository to Codeberg
Keep in mind that you first need to create a repository on Codeberg as stated in the section before.
## Optional: Create the local repository
If you don't have an existing git repository on your local machine that you can create one.
```
mkdir ~/playground
cd ~/playground
touch README.md
git init
git add README.md
git commit -m "first commit"
```
## Declare Codeberg repository as 'origin'
Your local repository need to know where the remote one is. It is usual and common to name it `origin`. The string `origin` could be desribed as an alias for the remote repository on the Codeberg server.
Now you have two protocol variantes to connect: SSH and HTTPS.
**Variant - SSH**
```
$ git remote add origin ssh://git@codeberg.org/JohnDoe/playground.git
```
**Variant - HTTPS**
```
$ git remote add origin https://codeberg.org/JohnDoe/playground.git
```

View file

@ -0,0 +1,17 @@
---
eleventyNavigation:
key: GettingStarted
title: Getting Started with Codeberg
icon: rocket
order: 10
description: This article shows you how to get started with Codeberg
---
Hello there!
We're glad you're considering to join [Codeberg, the community-driven non-profit
software development platform](/getting-started/what-is-codeberg).
These pages will guide you through your first steps on Codeberg.
You can start with [creating an account](/getting-started/creating-account). If you already have an account, please continue with [creating your first repository](/getting-started/first-repository).

View file

@ -0,0 +1,8 @@
---
eleventyNavigation:
key: WhatIsCodeberg
title: What is Codeberg?
parent: GettingStarted
order: 10
draft: true
---

View file

@ -1,8 +1,10 @@
---
title: "Clone & commit via HTTP (username & password)"
eleventyNavigation:
key: CloneCommitViaHTTP
title: Clone & Commit via HTTP
parent: Git
---
# Clone & commit via HTTP (username & password)
The user in this examples is `JohnDoe` and it's repository is `foobar`. The repository was created via the Codeberg.org website including a `README.md` file.
```bash

View file

@ -1,9 +1,11 @@
---
title: "Clone & commit via SSH"
eleventyNavigation:
key: CloneCommitViaSSH
title: Clone & Commit via SSH
parent: Git
---
# Clone & commit via SSH
The user in this examples is `JohnDoe` and it's repository is `foobar`. The repository was [created](https://codeberg.org/Codeberg/Documentation/wiki/Create-repository---Local-and-on-Codeberg) via the Codeberg.org website including a `README.md` file.
The user in this examples is `JohnDoe` and it's repository is `foobar`. The repository was created via the Codeberg.org website including a `README.md` file.
```bash
~$ git clone git@codeberg.org:JohnDoe/foobar.git
@ -15,7 +17,7 @@ remote: Total 3 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
```
# Modify and commit to local repository
## Modify and commit to local repository
Modify an existing file
```bash
@ -31,7 +33,7 @@ Commit changes to local repository.
1 file changed, 2 insertions(+), 1 deletion(-)
```
# Synchronize your local repository with the remote one
## Synchronize your local repository with the remote one
```bash
~/foobar$ git push
Username for 'https://codeberg.org': JohnDoe

12
content/git/index.md Normal file
View file

@ -0,0 +1,12 @@
---
eleventyNavigation:
key: Git
title: Working with Git Repositories
icon: code-branch
order: 20
---
On these pages, you will learn how to use the Git version control system
with Codeberg.
Please note that this is a Work in Progress.

View file

@ -1,8 +1,10 @@
---
title: "Merge multiple commits into one"
eleventyNavigation:
key: SquashCommits
title: Merge multiple commits into one
parent: Git
---
# Merge multiple commits into one
Sometimes you will merge multiple commits into one. Maybe the commits are "dirty" full with not working code or embarrasing commit messages. This solution is only one of mutliple possible solutions. See this [stackoverflow question](https://stackoverflow.com/q/2563632/4865723) for more details and variants.
Here is an example.

8
content/home.md Normal file
View file

@ -0,0 +1,8 @@
---
permalink: /
---
Welcome to the Codeberg Documentation pages!
Please choose a section from the menu on the left.
If you're new to Codeberg, consider starting at [Getting Started](/getting-started).

View file

@ -0,0 +1,8 @@
---
eleventyNavigation:
key: ImprovingCodeberg
title: Improving Codeberg
icon: hands-helping
order: 70
draft: true
---

View file

@ -0,0 +1,8 @@
---
eleventyNavigation:
key: Markdown
title: Writing in Markdown
icon: pen-nib
order: 40
draft: true
---

View file

@ -0,0 +1,9 @@
---
eleventyNavigation:
key: Security
title: Security
icon: lock
order: 50
---
This section contains information on how to securely use Codeberg.

View file

@ -1,20 +1,15 @@
---
title: "SSH key for Codeberg"
eleventyNavigation:
key: SSHKey
title: Adding an SSH key to your account
parent: Security
---
# Introduction
It is reccomended to use one key per client. It means if you access your Codeberg repository from your home PC, your laptop and your office PC you should generate spearate keys for each machine.
It is recommended to use one key per client. It means if you access your Codeberg repository from your home PC, your laptop and your office PC you should generate separate keys for each machine.
In the context of Codeberg you should decide yourself if you add a pasphrase to your SSH key or not. Read the on-going discussion about that topic in this [Codeberg-Issue](https://codeberg.org/Codeberg/Documentation/issues/2).
## Table of content
1. [Generating a SSH key (pair)](#generating-a-ssh-key-pair)
2. [Add the SSH key to Codeberg](#add-the-ssh-key-to-codeberg)
3. [Test the SSH connection](#test-the-ssh-connection)
4. [Avoid re-typing the passphrase](#avoid-re-typing-the-passphrase)
# Generating a SSH key (pair)
## Generating a SSH key (pair)
1. Open a shell (e.g. `git-bash` on Windows or `bash` on Linux).
@ -38,7 +33,7 @@ In the context of Codeberg you should decide yourself if you add a pasphrase to
4. Enter a passphrase if you want. *See further [discussions](https://codeberg.org/Codeberg/Documentation/issues/2) about the necessity of a passphrase in the context of Codeberg.*
# Add the SSH key to Codeberg
## Add the SSH key to Codeberg
1. Copy the SSH key to your clipboard. Attention: Copy only the public part of the key not the private one. You can identify it by the `.pub` extension. By default you can find the public key in `$HOME/.ssh/id_rsa.pub`.
On Linux you can use the `xclip` command like this
@ -52,12 +47,12 @@ In the context of Codeberg you should decide yourself if you add a pasphrase to
```
2. Go to the settings section __SSH / GPG Keys__ and click on __Add key__.
![screenshot](add_ssh_key.png)
![screenshot](/assets/images/security/ssh-key/add-ssh-key.png)
3. Give an appropriate name for the key.
4. Paste your key string from the clipboard into __content__ field.
# Test the SSH connection
## Test the SSH connection
Do this simple test:
```shell
@ -73,7 +68,7 @@ If this is unexpected, please log in with password and setup Gitea under another
*Note: All codeberg users share a single unix user named `git` which is used to check out repositories. Depending on the key provided, permission is granted or denied. You can check out all repositories with your key which you have permission for. You can push code to all repositories where you have write access.*
# Avoid re-typing the passphrase
## Avoid re-typing the passphrase
Assuming you created a secure key with passphrase, SSH will prompt you for your passphrase for every connection. Common desktop environments like OSX or Gnome will offer you to cache your passphrase via an SSH agent.

View file

@ -1,7 +0,0 @@
---
title: "Issue"
---
# Issues
If you found any issues with Codeberg, please create an [issue on Codeberg/Community](https://codeberg.org/Codeberg/Community/issues).

View file

@ -0,0 +1,34 @@
Font Awesome Free License
-------------------------
Font Awesome Free is free, open source, and GPL friendly. You can use it for
commercial projects, open source projects, or really almost whatever you want.
Full Font Awesome Free license: https://fontawesome.com/license/free.
# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/)
In the Font Awesome Free download, the CC BY 4.0 license applies to all icons
packaged as SVG and JS file types.
# Fonts: SIL OFL 1.1 License (https://scripts.sil.org/OFL)
In the Font Awesome Free download, the SIL OFL license applies to all icons
packaged as web and desktop font files.
# Code: MIT License (https://opensource.org/licenses/MIT)
In the Font Awesome Free download, the MIT license applies to all non-font and
non-icon files.
# Attribution
Attribution is required by MIT, SIL OFL, and CC BY licenses. Downloaded Font
Awesome Free files already contain embedded comments with sufficient
attribution, so you shouldn't need to do anything additional when using these
files normally.
We've kept attribution comments terse, so we ask that you do not actively work
to remove them from files, especially code. They're a great way for folks to
learn about Font Awesome.
# Brand Icons
All brand icons are trademarks of their respective owners. The use of these
trademarks does not indicate endorsement of the trademark holder by Font
Awesome, nor vice versa. **Please do not use brand logos for any purpose except
to represent the company, product, or service to which they refer.**

View file

@ -0,0 +1,18 @@
Copyright <YEAR> <COPYRIGHT HOLDER>
Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify,
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be included in all copies
or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

View file

@ -0,0 +1,97 @@
Copyright (c) <dates>, <Copyright Holder> (<URL|email>),
with Reserved Font Name <Reserved Font Name>.
Copyright (c) <dates>, <additional Copyright Holder> (<URL|email>),
with Reserved Font Name <additional Reserved Font Name>.
Copyright (c) <dates>, <additional Copyright Holder> (<URL|email>).
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

Binary file not shown.

File diff suppressed because one or more lines are too long

93
fonts/Rubik/OFL.txt Normal file
View file

@ -0,0 +1,93 @@
Copyright 2015 The Rubik Project Authors (https://github.com/googlefonts/rubik),
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

Binary file not shown.

Binary file not shown.

93
fonts/Tajawal/OFL.txt Normal file
View file

@ -0,0 +1,93 @@
Copyright 2018 Boutros International. (http://www.boutrosfonts.com)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

Binary file not shown.

3524
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

14
package.json Normal file
View file

@ -0,0 +1,14 @@
{
"name": "codeberg-docs",
"description": "The documentation site for Codeberg",
"private": true,
"scripts": {
"build": "eleventy",
"serve": "eleventy --serve"
},
"devDependencies": {
"@11ty/eleventy": "^0.11.0",
"@11ty/eleventy-navigation": "^0.1.6",
"@11ty/eleventy-plugin-syntaxhighlight": "^3.0.1"
}
}