Skip to content

Commit 15a3039

Browse files
authored
Merge pull request #162 from vizzuhq/mkdocs
release 0.7.0
2 parents 931ebb1 + 512eb4d commit 15a3039

File tree

6 files changed

+41
-18
lines changed

6 files changed

+41
-18
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [Unreleased]
44

5+
## [0.7.0] - 2023-02-23
6+
57
### Fixed
68

79
- Fixed the UnPivot.convert method not modifying the original data object.

README.md

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<p align="center">
2-
<a href="https://github.com/vizzuhq/vizzu-lib">
3-
<img src="https://github.com/vizzuhq/vizzu-lib-doc/raw/main/docs/readme/infinite-60.gif" alt="Vizzu" />
2+
<a href="https://lib.vizzuhq.com/latest/">
3+
<img src="https://lib.vizzuhq.com/latest/assets/readme/infinite-60.gif" alt="Vizzu" />
44
</a>
55
<p align="center"><b>Vizzu</b> - Library for animated data visualizations and data stories.</p>
66
<p align="center">
7-
<a href="https://lib.vizzuhq.com/latest/">Tutorial & Examples</a>
8-
· <a href="https://lib.vizzuhq.com/latest/reference">Reference</a>
7+
<a href="https://lib.vizzuhq.com/latest/">Documentation</a>
8+
· <a href="https://lib.vizzuhq.com/latest/examples/">Examples</a>
9+
· <a href="https://lib.vizzuhq.com/latest/reference/">Code reference</a>
910
· <a href="https://github.com/vizzuhq/vizzu-lib">Repository</a>
1011
</p>
1112
</p>
@@ -14,7 +15,9 @@
1415
[![install size](https://packagephobia.com/badge?p=vizzu)](https://packagephobia.com/result?p=vizzu)
1516
[![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Vizzu%3A%20an%20open-source%20library%20for%20animated%20data%20visualizations%20and%20data%20stories&url=https://github.com/vizzuhq/vizzu-lib&via=vizzuhq&hashtags=vizzu,dataviz,javascript,opensource,developers)
1617

17-
# About The Project
18+
# Vizzu
19+
20+
## About The Project
1821

1922
Vizzu is a free, open-source Javascript/C++ library utilizing a generic dataviz
2023
engine that generates many types of charts and seamlessly animates between them.
@@ -32,7 +35,7 @@ Main features:
3235
- Written in C++ compiled to WebAssembly;
3336
- Dependency-free.
3437

35-
# Installation
38+
## Installation
3639

3740
Install via [npm](https://www.npmjs.com/package/vizzu):
3841

@@ -53,7 +56,7 @@ Or use it from CDN:
5356

5457
```
5558

56-
# Usage
59+
## Usage
5760

5861
Create a placeholder element that will contain the rendered chart:
5962

@@ -109,39 +112,39 @@ chart.animate({
109112

110113
[Try it!](https://jsfiddle.net/VizzuHQ/dk7b86vc)
111114

112-
![Example chart](https://vizzuhq.github.io/vizzu-lib-doc/readme/example.gif)
115+
![Example chart](https://lib.vizzuhq.com/latest/assets/readme/example.gif)
113116

114-
# FAQ
117+
## FAQ
115118

116119
You can find answers to the most frequently asked questions about using the
117120
library in our [FAQ](https://github.com/vizzuhq/vizzu-lib/blob/main/FAQ.md).
118121

119-
# Projects
122+
## Projects
120123

121124
List of external projects (extensions, bindings, templates, etc) for Vizzu:
122125
[Projects](https://github.com/vizzuhq/vizzu-lib/blob/main/PROJECTS.md).
123126

124-
# Roadmap
127+
## Roadmap
125128

126129
We have a comprehensive list of features we plan to implement, on our
127130
[Roadmap](https://github.com/vizzuhq/vizzu-lib/wiki/Roadmap).
128131

129-
# Contributing
132+
## Contributing
130133

131134
We welcome contributions to the project, visit our
132135
[wiki page](https://github.com/vizzuhq/vizzu-lib/wiki) for further info.
133136

134-
# Contact
137+
## Contact
135138

136139
- Join our Slack:
137140
[vizzu-community.slack.com](https://join.slack.com/t/vizzu-community/shared_invite/zt-w2nqhq44-2CCWL4o7qn2Ns1EFSf9kEg)
138141
- Drop us a line at [email protected]
139142
- Follow us on Twitter:
140143
[https://twitter.com/VizzuHQ](https://twitter.com/VizzuHQ)
141144

142-
# License
145+
## License
143146

144147
Copyright © 2022 [Vizzu Kft.](https://vizzuhq.com).
145148

146149
Released under the
147-
[Apache 2.0 License](https://github.com/vizzuhq/vizzu-lib/blob/main/LICENSE).
150+
[Apache 2.0 License](https://lib.vizzuhq.com/latest/LICENSE/).

docs/examples/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,3 @@ The `Vizzu` examples are grouped into four categories.
1010
transitions.
1111
- [Static charts](./static/index.md): Examples of well-known chart types
1212
configured with the original chart type-agnostic syntax of `Vizzu`.
13-
- [Real-life examples](./reallife/index.md): More complex animations that we
14-
built and shared to showcase the capabilities of the `Vizzu` package.

project/npm/replace_urls.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
const fs = require('fs');
2+
3+
4+
const fullVersion = process.argv[2];
5+
const versionParts = fullVersion.split(".");
6+
const version = versionParts[0] + "." + versionParts[1];
7+
8+
content = fs.readFileSync("./release/vizzu/README.md", {encoding:'utf8', flag:'r'});
9+
10+
content = content.replaceAll(
11+
"https://cdn.jsdelivr.net/npm/vizzu@latest/",
12+
`https://cdn.jsdelivr.net/npm/vizzu@${version}/`,
13+
);
14+
content = content.replaceAll(
15+
"https://lib.vizzuhq.com/latest/",
16+
`https://lib.vizzuhq.com/${version}/`
17+
);
18+
19+
fs.writeFileSync("./release/vizzu/README.md", content);

project/release.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Create npm package
1010
mkdir -p release/vizzu
1111
1212
cp README.md release/vizzu/README.md
13+
node ./project/npm/replace_urls.js $(node ./test/integration/test.js -v --vizzu /release/vizzu/dist/vizzu.min.js|awk -F'-' '{print $1}')
1314
cp CHANGELOG.md release/vizzu/CHANGELOG.md
1415
sed -i '/\#\# \[Unreleased\]/,/\#\#\ \[/{//!d}' release/vizzu/CHANGELOG.md
1516
sed -i '/\#\# \[Unreleased\]/d' release/vizzu/CHANGELOG.md

src/chart/main/version.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include "version.h"
22

3-
const App::Version Vizzu::Main::version(0, 6, 1);
3+
const App::Version Vizzu::Main::version(0, 7, 0);
44

55
const char *Vizzu::Main::siteUrl = "https://vizzuhq.com/";

0 commit comments

Comments
 (0)