Continuing the discussion from Codeberg/Documentation#145, is codeberg.js the only script that will be loaded on docs.codeberg.org? It looks like it is generated, and a simple way to make it librejs compliant is to add a post processing step of prepending the following line to codeberg.js
Continuing the discussion from https://codeberg.org/Codeberg/Documentation/issues/145, is [codeberg.js](https://codeberg.org/Codeberg/Design/src/branch/master/design-kit/codeberg.js) the only script that will be loaded on docs.codeberg.org? It looks like it is generated, and a simple way to make it librejs compliant is to add a post processing step of prepending the following line to codeberg.js
```
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
```
and appending the following line
```
// @license-end
```
Sure, but it's definitely not at the top of my priorities right now. If you want to create a PR I can merge it - in https://codeberg.org/Codeberg/Design/src/branch/master/design-kit/build.js#L57 the built JavaScript file is written, you can just modify it before that. The license of this repo is CC0.
Oh wait, you're right, the codeberg.js file only contains Halfmoon right now & has an additional license header! So, the part before the for loop is MIT, the part inside the for loop is CC0. Also, I just saw that there's a typo there (codebergCSS instead of codebergJS), but it doesn't matter as we don't have any custom script files right now.
Oh wait, you're right, the codeberg.js file only contains Halfmoon right now & has an additional license header! So, the part before the for loop is MIT, the part inside the for loop is CC0. Also, I just saw that there's a typo there (`codebergCSS` instead of `codebergJS`), but it doesn't matter as we don't have any custom script files right now.
Continuing the discussion from Codeberg/Documentation#145, is codeberg.js the only script that will be loaded on docs.codeberg.org? It looks like it is generated, and a simple way to make it librejs compliant is to add a post processing step of prepending the following line to codeberg.js
and appending the following line
@momar Could you take a look at adding this?
Sure, but it's definitely not at the top of my priorities right now. If you want to create a PR I can merge it - in https://codeberg.org/Codeberg/Design/src/branch/master/design-kit/build.js#L57 the built JavaScript file is written, you can just modify it before that. The license of this repo is CC0.
Doesn't that conflict with Halfmoon's license?
Oh wait, you're right, the codeberg.js file only contains Halfmoon right now & has an additional license header! So, the part before the for loop is MIT, the part inside the for loop is CC0. Also, I just saw that there's a typo there (
codebergCSS
instead ofcodebergJS
), but it doesn't matter as we don't have any custom script files right now.