Skip to content

Commit f031667

Browse files
Add new projects and some updates done
1 parent cc0936a commit f031667

File tree

13 files changed

+5439
-700
lines changed

13 files changed

+5439
-700
lines changed

docs/index.md renamed to docs/getting-started/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Index
2+
title: Introduction
33
slug: /
44
---
55

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,7 @@
11
---
2-
title: ReleaseZri
2+
title: How to Use
33
---
4-
Meaningful and minimalist release notes for developers
54

6-
Managing manual release notes is hard. Therefore, everyone tends to generate release notes
7-
from commit messages. But, you won't get a meaningful release note at the end. ReleaseZri offers
8-
you a simple strategy to maintain a human-friendly changelog and generate release notes automatically.
9-
It also gives you GitHub Action workflow steps that you can simply copy-paste into your projects.
10-
11-
[Source code](https://github.com/codezri/releasezri)
12-
13-
## Highlighted features
14-
15-
- Generate release notes and update changelog with one command.
16-
- You don't need to follow a specific commit message format.
17-
- Structure your changelog with a simple format, write content with your own rules.
18-
- Get release notes as a markdown file, use whereever you need.
19-
- Flexible release note template.
20-
- Written in Python, works on any platform.
21-
22-
[Neutralinojs](https://neutralino.js.org) uses ReleaseZri to maintain their release notes.
235
Add ReleaseZri to your project with the following steps.
246

257
## Create a changelog

docs/releasezri/intro.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: Introduction
3+
---
4+
Meaningful and minimalist release notes for developers
5+
6+
Managing manual release notes is hard. Therefore, everyone tends to generate release notes
7+
from commit messages. But, you won't get a meaningful release note at the end. ReleaseZri offers
8+
you a simple strategy to maintain a human-friendly changelog and generate release notes automatically.
9+
It also gives you GitHub Action workflow steps that you can simply copy-paste into your projects.
10+
11+
[Source code](https://github.com/codezri/releasezri)
12+
13+
## Highlighted features
14+
15+
- Generate release notes and update changelog with one command.
16+
- You don't need to follow a specific commit message format.
17+
- Structure your changelog with a simple format, write content with your own rules.
18+
- Get release notes as a markdown file, use whereever you need.
19+
- Flexible release note template.
20+
- Written in Python, works on any platform.
21+
22+
[Neutralinojs](https://neutralino.js.org) uses ReleaseZri to maintain their release notes.

docusaurus.config.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
const path = require('path');
2+
13
/** @type {import('@docusaurus/types').DocusaurusConfig} */
24
module.exports = {
35
title: 'CodeZri',
@@ -16,6 +18,10 @@ module.exports = {
1618
},
1719
navbar: {
1820
title: 'CodeZri',
21+
logo: {
22+
alt: 'CodeZri logo',
23+
src: 'img/codezri_white.png',
24+
},
1925
items: [
2026
{
2127
to: 'docs',
@@ -129,11 +135,14 @@ module.exports = {
129135
customCss: require.resolve('./src/css/custom.css'),
130136
},
131137
blog: {
132-
blogTitle: 'CodeZri blog!',
138+
blogTitle: 'CodeZri blog',
133139
blogDescription: 'The official blog of CodeZri.org',
134140
postsPerPage: 10,
135141
},
136142
},
137143
],
138144
],
145+
plugins: [
146+
path.resolve('./plugins/load-external-assets')
147+
]
139148
};

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
"write-heading-ids": "docusaurus write-heading-ids"
1515
},
1616
"dependencies": {
17-
"@docusaurus/core": "2.0.0-beta.0",
18-
"@docusaurus/preset-classic": "2.0.0-beta.0",
17+
"@docusaurus/core": "2.0.0-alpha.72",
18+
"@docusaurus/plugin-google-gtag": "^2.0.0-alpha.72",
19+
"@docusaurus/preset-classic": "2.0.0-alpha.72",
1920
"@mdx-js/react": "^1.6.21",
2021
"@svgr/webpack": "^5.5.0",
2122
"clsx": "^1.1.1",
@@ -36,4 +37,4 @@
3637
"last 1 safari version"
3738
]
3839
}
39-
}
40+
}

plugins/load-external-assets.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
module.exports = (context, options) => ({
2+
name: 'load-external-assets',
3+
injectHtmlTags() {
4+
return {
5+
headTags: [
6+
{
7+
tagName: 'script',
8+
attributes: {
9+
src: 'https://media.ethicalads.io/media/client/ethicalads.min.js',
10+
},
11+
},
12+
],
13+
}
14+
},
15+
})

sidebars.js

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,19 @@
1-
/**
2-
* Creating a sidebar enables you to:
3-
- create an ordered group of docs
4-
- render a sidebar for each doc of that group
5-
- provide next/previous navigation
6-
7-
The sidebars can be generated from the filesystem, or explicitly defined here.
8-
9-
Create as many sidebars as you want.
10-
*/
11-
121
module.exports = {
13-
// By default, Docusaurus generates a sidebar from the docs folder structure
14-
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
15-
16-
// But you can create a sidebar manually
17-
/*
18-
tutorialSidebar: [
2+
docs: [
193
{
204
type: 'category',
21-
label: 'Tutorial',
22-
items: ['hello'],
5+
label: 'Getting Started',
6+
items: [
7+
'getting-started/intro',
8+
],
9+
},
10+
{
11+
type: 'category',
12+
label: 'ReleaseZri',
13+
items: [
14+
'releasezri/intro',
15+
'releasezri/integrate'
16+
],
2317
},
2418
],
25-
*/
2619
};

src/components/Projects.js

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,24 @@ const ProjectsList = [
2121
image: 'jerverless.png',
2222
description: (
2323
<>
24-
Jerverless is a serverless runner which will execute anything (binaries, commands or your scripts) as a serverless function.
24+
Jerverless is a serverless runner which will execute anything (binaries, commands or your scripts) as a serverless function.
2525
It simply pipes http POST data into STDIN of any executable vice versa.
2626
</>
2727
),
2828
link: 'https://jerverless.github.io'
2929
},
3030
{
31+
title: 'ReleaseZri',
32+
image: 'script.png',
33+
description: (
34+
<>
35+
Meaningful and minimalist release notes for developers. Automate your releases with meaningful
36+
release notes with a simple changelog format. Used by Neutralinojs and many.
37+
</>
38+
),
39+
link: 'https://github.com/codezri/releasezri'
40+
},
41+
{
3142
title: 'GoogleZri',
3243
image: 'script.png',
3344
description: (
@@ -42,7 +53,7 @@ const ProjectsList = [
4253
image: 'moviezri.png',
4354
description: (
4455
<>
45-
Find a movie to watch today based of what you feel right now. Very simple but very interactive
56+
Find a movie to watch today based of what you feel right now. Very simple but very interactive
4657
online movie recommendation system. No signup needed!
4758
</>
4859
),
@@ -54,7 +65,7 @@ const ProjectsList = [
5465
description: (
5566
<>
5667
World's cheapest but modern stack for lightweight web apps. LAMG (stands for Lambda Angular Mongodb Github)
57-
is a full-stack solution which helps you develop or prototype lightweight,
68+
is a full-stack solution which helps you develop or prototype lightweight,
5869
maintainable and less-complex web applications.
5970
</>
6071
),
@@ -65,8 +76,8 @@ const ProjectsList = [
6576
image: 'factsoverflow.png',
6677
description: (
6778
<>
68-
FactsOverflow (also known as FO) is an educational non-commercial blog that publishes stories mostly about computer
69-
science and programming. This website contains articles written by volunteers who need to show their findings,
79+
FactsOverflow (also known as FO) is an educational non-commercial blog that publishes stories mostly about computer
80+
science and programming. This website contains articles written by volunteers who need to show their findings,
7081
experiments, and open-source-related activities to the right community.
7182
</>
7283
),
@@ -77,7 +88,7 @@ const ProjectsList = [
7788
image: 'script.png',
7889
description: (
7990
<>
80-
A minimal React Native e-commerce app template. It has a products list, details page,
91+
A minimal React Native e-commerce app template. It has a products list, details page,
8192
and shopping cart summary page.
8293
Easy-to-extend state management is done with React Context API.
8394
</>

src/pages/index.js

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from 'react';
1+
import React, {useEffect, useState} from 'react';
22
import clsx from 'clsx';
33
import Layout from '@theme/Layout';
44
import Link from '@docusaurus/Link';
@@ -8,13 +8,34 @@ import HomepageFeatures from '../components/HomepageFeatures';
88

99
function HomepageHeader() {
1010
const {siteConfig} = useDocusaurusContext();
11+
const [isInitialized, setIsInitialized] = useState(false);
12+
const [isEthABlocked, setIsEthABlocked] = useState(false)
13+
useEffect(() => {
14+
if(isInitialized) {
15+
return;
16+
}
17+
setIsInitialized(true);
18+
try {
19+
setIsEthABlocked(typeof ethicalads === 'undefined');
20+
ethicalads.load_placements();
21+
}
22+
catch (error) {
23+
setIsEthABlocked(false);
24+
}
25+
});
1126
return (
1227
<header className={clsx('hero hero--primary', styles.heroBanner)}>
1328
<div className="container">
14-
<h1 className="hero__title">
15-
<img src="img/codezri_white.png" alt={siteConfig.title} className={styles.logo}/>
16-
</h1>
29+
<h1 className="hero__title">{siteConfig.title}</h1>
1730
<p className="hero__subtitle">{siteConfig.tagline}</p>
31+
<div>
32+
<div
33+
data-ea-publisher="neutralino"
34+
data-ea-type="image"
35+
id="codezri-front"
36+
>
37+
</div>
38+
</div>
1839
<div className={styles.buttons}>
1940
<Link
2041
className="button button--secondary button--lg"

src/pages/index.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
}
3333

3434
.logo {
35-
width: 200px;
35+
width: 100px;
3636
background: rgba(0, 0, 0, 0.8);
3737
border-radius: 12px;
3838
}

0 commit comments

Comments
 (0)