Skip to content

Commit

Permalink
Updated the project with @mobilabs/es6kadoo v2.1 (Github Actions).
Browse files Browse the repository at this point in the history
  • Loading branch information
jclo committed Jan 26, 2024
1 parent d503793 commit 9cdab70
Show file tree
Hide file tree
Showing 145 changed files with 3,838 additions and 4,111 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# This workflow will run tests using node.
name: CI pipeline

on:
push:
branches: [ master, main ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install

- run: npm test
- run: npm run check:coverage

- name: Coveralls
uses: coverallsapp/github-action@v2
# -- oOo --
13 changes: 1 addition & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,12 @@
.DS_Store
__trash
_old_*

coverage
node_modules

/_dist_*
_site-theme-start/_dist
_site-theme-start/vendor/*
!_site-theme-start/vendor/README_FONTS_MONTSERRAT.md
!_site-theme-start/vendor/README_HIGHLIGHT.md

_site-theme-doceo/_dist
_site-theme-doceo/vendor/*
!_site-theme-doceo/vendor/README_FONTS_MONTSERRAT.md
!_site-theme-doceo/vendor/README_HIGHLIGHT.md

_site-theme-appdoceo/_dist
_site-theme-appdoceo/vendor/*
!_site-theme-appdoceo/vendor/README_FONTS_MONTSERRAT.md
!_site-theme-appdoceo/vendor/README_HIGHLIGHT.md

site
6 changes: 6 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm test
npm run check:coverage
npm run report
3 changes: 1 addition & 2 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
!_site-theme-start/**/*
!_site-theme-doceo/**/*
!_site-theme-appdoceo/**/*
!bin/**/*
!tasks/**/*
!scripts/**/*
!index
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
### HEAD

### 2.3.x (January 26, 2024)

* Updated the project with @mobilabs/es6kadoo v2.1 (Github Actions),
* ...,


### 2.3.1 (November 1, 2023)

* Fixed a few minor issues on _site-theme-appdoceoo theme,
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2023 Mobilabs <contact@mobilabs.fr> (http://www.mobilabs.fr)
Copyright (c) 2024 Mobilabs <contact@mobilabs.fr> (http://www.mobilabs.fr)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

[![NPM version][npm-image]][npm-url]
[![GitHub last commit][commit-image]][commit-url]
[![Github workflow][ci-image]][ci-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![npm bundle size][npm-bundle-size-image]][npm-bundle-size-url]
[![License][license-image]](LICENSE.md)

Kasar is static site generator. It creates a static website from markdown or HTML pages. It is powered by **npm scripts** and **RView**.
Expand Down Expand Up @@ -50,7 +53,6 @@ site
|_ js
|_ php
|_ styles
|_ tasks
|_ tobuildweb
|_ vendor
|_ webpages
Expand Down Expand Up @@ -105,15 +107,15 @@ On the displayed page, click the button `click me` to read the detailed document
[npm-image]: https://img.shields.io/npm/v/@mobilabs/kasar.svg?style=flat-square
[release-image]: https://img.shields.io/github/release/jclo/kasar.svg?include_prereleases&style=flat-square
[commit-image]: https://img.shields.io/github/last-commit/jclo/kasar.svg?style=flat-square
[travis-image]: https://img.shields.io/travis/jclo/kasar.svg?style=flat-square
[ci-image]: https://github.com/jclo/kasar/actions/workflows/ci.yml/badge.svg
[coveralls-image]: https://img.shields.io/coveralls/jclo/kasar/master.svg?style=flat-square
[npm-bundle-size-image]: https://img.shields.io/bundlephobia/minzip/@mobilabs/kasar.svg?style=flat-square
[license-image]: https://img.shields.io/npm/l/@mobilabs/kasar.svg?style=flat-square

[npm-url]: https://www.npmjs.com/package/@mobilabs/kasar
[release-url]: https://github.com/jclo/kasar/tags
[commit-url]: https://github.com/jclo/kasar/commits/master
[travis-url]: https://travis-ci.org/jclo/kasar
[ci-url]: https://github.com/jclo/kasar/actions/workflows/ci.yml
[coveralls-url]: https://coveralls.io/github/jclo/kasar?branch=master
[license-url]: http://opensource.org/licenses/MIT
[npm-bundle-size-url]: https://img.shields.io/bundlephobia/minzip/@mobilabs/kasar
[license-url]: http://opensource.org/licenses/MIT
81 changes: 81 additions & 0 deletions _site-theme-appdoceo/vendor/fonts/montserrat/Montserrat/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
Montserrat Variable Font
========================

This download contains Montserrat as both variable fonts and static fonts.

Montserrat is a variable font with this axis:
wght

This means all the styles are contained in these files:
Montserrat-VariableFont_wght.ttf
Montserrat-Italic-VariableFont_wght.ttf

If your app fully supports variable fonts, you can now pick intermediate styles
that aren’t available as static fonts. Not all apps support variable fonts, and
in those cases you can use the static font files for Montserrat:
static/Montserrat-Thin.ttf
static/Montserrat-ExtraLight.ttf
static/Montserrat-Light.ttf
static/Montserrat-Regular.ttf
static/Montserrat-Medium.ttf
static/Montserrat-SemiBold.ttf
static/Montserrat-Bold.ttf
static/Montserrat-ExtraBold.ttf
static/Montserrat-Black.ttf
static/Montserrat-ThinItalic.ttf
static/Montserrat-ExtraLightItalic.ttf
static/Montserrat-LightItalic.ttf
static/Montserrat-Italic.ttf
static/Montserrat-MediumItalic.ttf
static/Montserrat-SemiBoldItalic.ttf
static/Montserrat-BoldItalic.ttf
static/Montserrat-ExtraBoldItalic.ttf
static/Montserrat-BlackItalic.ttf

Get started
-----------

1. Install the font files you want to use

2. Use your app's font picker to view the font family and all the
available styles

Learn more about variable fonts
-------------------------------

https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts
https://variablefonts.typenetwork.com
https://medium.com/variable-fonts

In desktop apps

https://theblog.adobe.com/can-variable-fonts-illustrator-cc
https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts

Online

https://developers.google.com/fonts/docs/getting_started
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts

Installing fonts

MacOS: https://support.apple.com/en-us/HT201749
Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux
Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows

Android Apps

https://developers.google.com/fonts/docs/android
https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts

License
-------
Please read the full license text (OFL.txt) to understand the permissions,
restrictions and requirements for usage, redistribution, and modification.

You can use them freely in your products & projects - print or digital,
commercial or otherwise.

This isn't legal advice, please consider consulting a lawyer and see the full
license for all details.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
29 changes: 29 additions & 0 deletions _site-theme-appdoceo/vendor/highlight/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
BSD 3-Clause License

Copyright (c) 2006, Ivan Sagalaev.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
45 changes: 45 additions & 0 deletions _site-theme-appdoceo/vendor/highlight/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Highlight.js CDN Assets

[![install size](https://packagephobia.now.sh/badge?p=highlight.js)](https://packagephobia.now.sh/result?p=highlight.js)

**This package contains only the CDN build assets of highlight.js.**

This may be what you want if you'd like to install the pre-built distributable highlight.js client-side assets via NPM. If you're wanting to use highlight.js mainly on the server-side you likely want the [highlight.js][1] package instead.

To access these files via CDN:<br>
https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@latest/build/

**If you just want a single .js file with the common languages built-in:
<https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@latest/build/highlight.min.js>**

---

## Highlight.js

Highlight.js is a syntax highlighter written in JavaScript. It works in
the browser as well as on the server. It works with pretty much any
markup, doesn’t depend on any framework, and has automatic language
detection.

If you'd like to read the full README:<br>
<https://github.com/highlightjs/highlight.js/blob/main/README.md>

## License

Highlight.js is released under the BSD License. See [LICENSE][7] file
for details.

## Links

The official site for the library is at <https://highlightjs.org/>.

The Github project may be found at: <https://github.com/highlightjs/highlight.js>

Further in-depth documentation for the API and other topics is at
<http://highlightjs.readthedocs.io/>.

A list of the Core Team and contributors can be found in the [CONTRIBUTORS.md][8] file.

[1]: https://www.npmjs.com/package/highlight.js
[7]: https://github.com/highlightjs/highlight.js/blob/main/LICENSE
[8]: https://github.com/highlightjs/highlight.js/blob/main/CONTRIBUTORS.md
Loading

0 comments on commit 9cdab70

Please sign in to comment.