@@ -29,40 +29,40 @@ Plotly.NET will be available as 2.0.0 version of its predecessor FSharp.Plotly.
29
29
30
30
Old packages up until version 1.2.2 can be accessed via the old package name * FSharp.Plotly* [ here] ( https://www.nuget.org/packages/FSharp.Plotly/ )
31
31
32
- ### For applications and libraries
32
+ The most recent Plotly.NET package is [ ![ ] ( https://img.shields.io/nuget/vpre/Plotly.NET )] ( https://www.nuget.org/packages/Plotly.NET/ ) .
33
33
34
- A preview version of Plotly.NET 2.0.0 is available on nuget to plug into your favorite package manager:
34
+ ### For applications and libraries
35
35
36
36
- dotnet CLI
37
37
38
38
``` shell
39
- dotnet add package Plotly.NET -- version 2.0.0-alpha5
39
+ dotnet add package Plotly.NET < version>
40
40
```
41
41
42
42
- paket CLI
43
43
44
44
``` shell
45
- paket add Plotly.NET --version 2.0.0-beta1
45
+ paket add Plotly.NET --version < version >
46
46
```
47
47
48
48
- package manager
49
49
50
50
``` shell
51
- Install-Package Plotly.NET -Version 2.0.0-beta1
51
+ Install-Package Plotly.NET -Version < version >
52
52
```
53
53
54
54
Or add the package reference directly to your ` .*proj ` file:
55
55
56
56
```
57
- <PackageReference Include="Plotly.NET" Version="2.0.0-beta1 " />
57
+ <PackageReference Include="Plotly.NET" Version="<version> " />
58
58
```
59
59
60
60
### For scripting
61
61
62
62
You can include the package via an inline package reference:
63
63
64
64
```
65
- #r "nuget: Plotly.NET, 2.0.0-beta1 "
65
+ #r "nuget: Plotly.NET, <version> "
66
66
```
67
67
68
68
### For dotnet interactive notebooks
@@ -71,8 +71,8 @@ You can use the same inline package reference as in script, but as an additional
71
71
the interactive extensions for dotnet interactive have you covered for seamless chart rendering:
72
72
73
73
```
74
- #r "nuget: Plotly.NET, 2.0.0-beta1 "
75
- #r "nuget: Plotly.NET.Interactive, 2.0.0-beta1 "
74
+ #r "nuget: Plotly.NET, <version> "
75
+ #r "nuget: Plotly.NET.Interactive, <version> "
76
76
```
77
77
78
78
# Documentation
@@ -89,26 +89,36 @@ The documentation for this library is automatically generated (using FSharp.Form
89
89
90
90
# Development
91
91
92
+ _ Note:_ The ` release ` and ` prerelease ` build targets assume that there is a ` NUGET_KEY ` environment variable that contains a valid Nuget.org API key.
93
+
92
94
### build
93
95
94
96
Check the [ build.fsx file] ( https://github.com/plotly/Plotly.NET/blob/dev/build.fsx ) to take a look at the build targets. Here are some examples:
95
97
96
98
``` shell
97
99
# Windows
98
100
99
- # Build, test, pack nuget, build docs
100
- ./build.cmd -t all
101
-
102
101
# Build only
103
102
./build.cmd
104
103
105
- # Linux/mac
104
+ # Full release buildchain: build, test, pack, build the docs, push a git tag, publsih thze nuget package, release the docs
105
+ ./build.cmd -t release
106
+
107
+ # The same for prerelease versions:
108
+ ./build.cmd -t prerelease
106
109
107
- # Build, test, pack nuget, build docs
108
- ./build.sh -t all
110
+
111
+ # Linux/mac
109
112
110
113
# Build only
111
- ./build.sh
114
+ build.sh
115
+
116
+ # Full release buildchain: build, test, pack, build the docs, push a git tag, publsih thze nuget package, release the docs
117
+ build.sh -t release
118
+
119
+ # The same for prerelease versions:
120
+ build.sh -t prerelease
121
+
112
122
```
113
123
114
124
### docs
0 commit comments