Skip to content
This repository was archived by the owner on Aug 24, 2019. It is now read-only.

Commit 252174f

Browse files
committed
Add docs;
1 parent a09cf03 commit 252174f

File tree

8 files changed

+42
-8
lines changed

8 files changed

+42
-8
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,3 @@ bld/
99
out/
1010
.vs/
1111
*.user
12-
13-
!/bin/

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
# GraphQlClientCodegenerator
1+
# GraphQL Client Code Generator
2+
3+
How to use [read in docs](https://mihailpw.github.io/GraphQLClientCodeGenerator/).
4+

docs/_config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
title: GQLCCG
2+
logo: /assets/logo.svg
3+
description: Code generator for GraphQL client
4+
theme: jekyll-theme-minimal

docs/assets/logo.svg

Lines changed: 1 addition & 0 deletions
Loading

docs/favicon.ico

130 KB
Binary file not shown.

docs/index.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
## GraphQL Client Code Generator
2+
3+
A tool that helps you to make GraphQL request and get response from client to server.
4+
5+
### Getting started
6+
7+
1. Download generator.
8+
2. Setup config file.
9+
3. Execute generator.
10+
11+
### Step 1. Download generator
12+
13+
Latest version: **v.1.0.1**.
14+
15+
| OS | | |
16+
| ------- | :-----: | :-----: |
17+
| Windows | **x86** | **x64** |
18+
| MacOS | | **x64** |
19+
| Linux | | **x64** |
20+
21+
### Step 2. Setup config file
22+
23+
Setup.
24+
25+
### Step 3. Execute generator
26+
27+
Execute.
28+

publish.bat

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
@echo off
2-
del "bin\*.*" /s /f /q
3-
(for %%r in (win-x64 win-x86 win-arm osx-x64 linux-x64 linux-arm) do (
2+
del "out\*.*" /s /f /q
3+
(for %%r in (win-x64 win-x86 osx-x64 linux-x64) do (
44
echo Building %%r
5-
dotnet publish "src/GQLCCG/GQLCCG.csproj" -o "bin" -c Release -r %%r --nologo /p:PublishSingleFile=true
6-
del "bin\GQLCCG.pdb" /s /f /q
7-
ren "bin\GQLCCG.*" "gqlccg-%%r.*"
5+
dotnet publish "src/GQLCCG/GQLCCG.csproj" -o "out" -c Release -r %%r --nologo /p:PublishSingleFile=true
6+
del "out\GQLCCG.pdb" /s /f /q
7+
ren "out\GQLCCG.*" "gqlccg-%%r.*"
88
))

src/GQLCCG/Properties/favicon.ico

3.37 KB
Binary file not shown.

0 commit comments

Comments
 (0)