diff --git a/CNAME b/CNAME new file mode 100644 index 000000000..e8be4693a --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +www.codingapi.com \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index 6798c84da..c5d45d493 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -9,7 +9,9 @@ GEM eventmachine (>= 0.12.9) http_parser.rb (~> 0.6.0) eventmachine (1.2.7) + eventmachine (1.2.7-x64-mingw32) ffi (1.10.0) + ffi (1.10.0-x64-mingw32) forwardable-extended (2.6.0) http_parser.rb (0.6.0) i18n (0.9.5) @@ -60,9 +62,14 @@ GEM sass-listen (4.0.0) rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) + tzinfo (2.0.0) + concurrent-ruby (~> 1.0) + tzinfo-data (1.2019.2) + tzinfo (>= 1.0.0) PLATFORMS ruby + x64-mingw32 DEPENDENCIES jekyll (= 3.8.4) @@ -73,7 +80,7 @@ DEPENDENCIES tzinfo-data RUBY VERSION - ruby 2.3.1p112 + ruby 2.6.3p62 BUNDLED WITH - 2.0.1 + 2.0.2 diff --git a/README.md b/README.md index e9d892060..9b76d7187 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,20 @@ -# CodingApi +# CodingApi Page +http://www.codingapi.com +## Running locally +You need Ruby and gem before starting, then: +``` +# install bundler +gem install bundler -hello CodingApi +# clone the project +git clone https://github.com/aksakalli/jekyll-doc-theme.git +cd jekyll-doc-theme + +# install dependencies +bundle install + +# run jekyll with dependencies +bundle exec jekyll serve +``` \ No newline at end of file diff --git a/_config.yml b/_config.yml index 27569531a..0914782fd 100644 --- a/_config.yml +++ b/_config.yml @@ -2,13 +2,12 @@ title: CodingApi email: 1991wangliang@gmail.com description: > - Jekyll Template for Project Websites - providing documentation and blog post pages. + CodingAPI is an open source organization. lang: en-US -baseurl: "/" # the subpath of your site, e.g. /blog/ +baseurl: "" # the subpath of your site, e.g. /blog/ url: https://codingapi.github.io/codingapi.github.io # the base hostname & protocol for your site -git_address: https://github.com/codingapi/codingapi.github.io +git_address: https://github.com/codingapi git_edit_address: https://github.com/codingapi/codingapi.github.io/blob/gh-pages # theme options from https://bootswatch.com/ @@ -30,7 +29,10 @@ exclude: - .idea/ - .gitignore - README.md -timezone: Europe/Berlin +timezone: Asia/Shanghai + +future: true + defaults: - scope: path: _posts diff --git a/_data/docs.yml b/_data/docs.yml index 5df2db019..9b60354e1 100644 --- a/_data/docs.yml +++ b/_data/docs.yml @@ -1,11 +1,7 @@ - title: Getting Started docs: - home - - themes - - customization -- title: Examples +- title: environmental docs: - - cheatsheet - - font-awesome - - bootstrap + - codingapi-test diff --git a/_docs/customization.md b/_docs/customization.md deleted file mode 100644 index fb851d5ef..000000000 --- a/_docs/customization.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: Customization -permalink: /docs/customization/ ---- - -This template uses [bootstrap-sass](https://github.com/twbs/bootstrap-sass) along with [bootwatch themes](https://bootswatch.com/). -You can create your own theme by writing your own `sass` files. - -Create a new a theme folder like `_sass/bootwatch/custom` and set your `bootwatch` variables in `_config.yml` to `custom`: - -```yaml -bootwatch: custom -``` diff --git a/_docs/environmental/codingapi-test.md b/_docs/environmental/codingapi-test.md new file mode 100644 index 000000000..f2efd1df2 --- /dev/null +++ b/_docs/environmental/codingapi-test.md @@ -0,0 +1,219 @@ +--- +title: codingapi-test测试框架 +permalink: /docs/codingapi-test/ +--- + + +## 单元测试介绍 + + +### 通常单元测试要达到的效果: +* 检验代码是否可以正常工作 +* 要达到业务层率覆盖率100% +* 不依赖其他模块与数据可独立运行 +* 执行测试以后不允许产生脏数据影响业务 +* 要对业务产生的影响做检验确认 + + +## codingapi-test框架 + +框架基于Springboot2.x研发,可快速准备数据、校验数据、清理数据的测试工具。 + +使用codingapi-test框架的理由: +* 方便快捷的准备测试数据 +* 自动化的校验 +* 自动化的清理数据 +* 兼容MongoDB、关系型数据库(例如:Mysql、Oracle、SqlServer...) + +github: + +[https://github.com/codingapi/codingapi-test](https://github.com/codingapi/codingapi-test) + +maven: +``` + + com.codingapi + codingapi-test + 0.0.2 + +``` + +## 配置说明 + +`@TestMethod`提供了对单元测试辅助功能。 +1、导入测试数据。 +2、检查确认数据 +3、数据清理 + +```java +@Test +@TestMethod( + //是否开启导入数据 + enablePrepare = true, + //导入数据的文件 可以是数组 + prepareData = {"t_demo.xml"}, + //是否开启检查 + enableCheck = true, + //检查数据项目 + checkMongoData ={ + //MongoDB数据检查 + @CheckMongoData( + //关键字质 + primaryVal = "user:123", + //查询关键字 + primaryKey = "info", + //关键值类型 + type = CheckMongoData.Type.STRING, + //错误提示 + desc = "数据不存在", + //加载类对象 + bean = Logger.class, + //校验数据 key:字段,value:值 + expected = @Expected(key = "id",value = "1")) + }, + checkMysqlData = { + //Mysql 数据检查 + @CheckMysqlData( + //执行sql + sql = "select name from t_demo where name = '123'", + //错误提示 + desc = "数据不存在", + //校验数据 key:字段,value:值 + expected = @Expected(key = "name",value = "123")) + }, + //开启清理 + enableClear = true, + //清理的MongoDB collection + clearCollectionNames = {"logger"}, + //清理的db table + clearTableNames = {"t_demo"} +) +public void login_success() { + try { + Long id = demoService.login("123"); + log.info("login - > {}", id); + Assert.isTrue(id==1 ,"login success ."); + } catch (UserNameNotFoundException exp) { + exp.printStackTrace(); + } +} +``` + +t_demo.xml +``` + + + t_demo + + insert into t_demo(id,name) values(#{id},#{name}) + + RELATIONAL + + com.codingapi.cidemo.domain.Demo + + + + 1 + 123 + + + 1 + 123 + + + + +``` + +mongo.xml +``` + + + logger + + + + MONGODB + + com.codingapi.cidemo.collection.Logger + + + + 1 + + 3 + + + 1 + + 3 + + + + +``` + +如何创建 数据模块xml + +增加`@XmlBuild` 配置表名称和类型即可 `colType`是字段插入语句的类型,分为`UNDERLINE`下划线和`CAMEL`驼峰两种类型 +```java +@Data +@XmlBuild(name = "t_demo",dbType= DBType.RELATIONAL,colType = XmlBuild.ColType.UNDERLINE) +public class Demo extends BaseVO { + + private Long id; + + private String name; + +} + +``` + +``` +#xml创建模式 分为:创建并覆盖、增量、不添加 +codingapi.test.mode=addition +#xml数据位置 +codingapi.test.outPath=${user.dir}/xml +``` + + + +## 如何使用? + +1、配置maven + +``` + + com.codingapi + codingapi-test + 0.0.2 + +``` + +2、配置Test类 + +```java +@RunWith(SpringRunner.class) +@SpringBootTest +// 单元测试的profile +@ActiveProfiles("test") +@Slf4j +// 增加监听 +@TestExecutionListeners({JunitMethodListener.class, + DependencyInjectionTestExecutionListener.class}) +public class DemoServiceTest { + +} +``` + +3、配置application文件 + +``` +codingapi.test.mode=addition +codingapi.test.outPath=${user.dir}/xml +``` + + +4、demo地址 + +[https://github.com/1991wangliang/ci-demo](https://github.com/1991wangliang/ci-demo) diff --git a/_docs/examples/bootstrap.md b/_docs/examples/bootstrap.md deleted file mode 100644 index c159060a2..000000000 --- a/_docs/examples/bootstrap.md +++ /dev/null @@ -1,360 +0,0 @@ ---- -title: Bootstrap Features -permalink: /docs/bootstrap/ ---- - - -## Buttons -

-Default -Primary -Success -Info -Warning -Danger -Link -

-Default -Primary -Success -Info -Warning -Danger -Link -

-

- Default - - -
- -
- Primary - - -
- -
- Success - - -
- -
- Info - - -
- -
- Warning - - -
-

- -Large button -Default button -Small button -Mini button -

- - -## Typography - -

Emphasis classes

-

Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.

-

Nullam id dolor id nibh ultricies vehicula ut id elit.

-

Etiam porta sem malesuada magna mollis euismod.

-

Donec ullamcorper nulla non metus auctor fringilla.

-

Duis mollis, est non commodo luctus, nisi erat porttitor ligula.

-

Maecenas sed diam eget risus varius blandit sit amet non magna.

- - -## Tables - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#Column headingColumn headingColumn heading
1Column contentColumn contentColumn content
2Column contentColumn contentColumn content
3Column contentColumn contentColumn content
4Column contentColumn contentColumn content
5Column contentColumn contentColumn content
6Column contentColumn contentColumn content
7Column contentColumn contentColumn content
- - -## Tabs - - -
-
-

Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.

-
-
-

Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit.

-
- - -
- -## Labels - -

-Default -Primary -Success -Warning -Danger -Info -

- - -## List groups - -
-
-
-
    -
  • - 14 Cras justo odio -
  • -
  • - 2 Dapibus ac facilisis in -
  • -
  • - 1 Morbi leo risus -
  • -
-
-
-
- -
-
- -
-
- - -## Panels - -
-
-
-
-
- Basic panel -
-
- -
-
Panel heading
-
- Panel content -
-
- -
-
- Panel content -
- -
- -
-
-
-
-
-
-

Panel primary

-
-
- Panel content -
-
- -
-
-

Panel success

-
-
- Panel content -
-
- -
-
-

Panel warning

-
-
- Panel content -
-
-
-
-
-
-
-
-

Panel danger

-
-
- Panel content -
-
- -
-
-

Panel info

-
-
- Panel content -
-
-
-
-
- - -## Wells - -
-
-
-
- Look, I'm in a well! -
-
-
-
-
-
- Look, I'm in a small well! -
-
-
-
-
-
- Look, I'm in a large well! -
- -
-
-
diff --git a/_docs/examples/cheatsheet.md b/_docs/examples/cheatsheet.md deleted file mode 100644 index 39c383c93..000000000 --- a/_docs/examples/cheatsheet.md +++ /dev/null @@ -1,403 +0,0 @@ ---- -title: Markdown Cheatsheet -permalink: /docs/cheatsheet/ ---- - -From [adam-p/markdown-here](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) - -##### Table of Contents -[Headers](#headers) -[Emphasis](#emphasis) -[Lists](#lists) -[Links](#links) -[Images](#images) -[Code and Syntax Highlighting](#code) -[Tables](#tables) -[Blockquotes](#blockquotes) -[Inline HTML](#html) -[Horizontal Rule](#hr) -[Line Breaks](#lines) -[Youtube videos](#videos) - - -## Headers - -```no-highlight -# H1 -## H2 -### H3 -#### H4 -##### H5 -###### H6 - -Alternatively, for H1 and H2, an underline-ish style: - -Alt-H1 -====== - -Alt-H2 ------- -``` - -# H1 -## H2 -### H3 -#### H4 -##### H5 -###### H6 - -Alternatively, for H1 and H2, an underline-ish style: - -Alt-H1 -====== - -Alt-H2 ------- - - -## Emphasis - -```no-highlight -Emphasis, aka italics, with *asterisks* or _underscores_. - -Strong emphasis, aka bold, with **asterisks** or __underscores__. - -Combined emphasis with **asterisks and _underscores_**. - -Strikethrough uses two tildes. ~~Scratch this.~~ -``` - -Emphasis, aka italics, with *asterisks* or _underscores_. - -Strong emphasis, aka bold, with **asterisks** or __underscores__. - -Combined emphasis with **asterisks and _underscores_**. - -Strikethrough uses two tildes. ~~Scratch this.~~ - - - -## Lists - -(In this example, leading and trailing spaces are shown with with dots: ⋅) - -```no-highlight -1. First ordered list item -2. Another item -⋅⋅* Unordered sub-list. -1. Actual numbers don't matter, just that it's a number -⋅⋅1. Ordered sub-list -4. And another item. - -⋅⋅⋅You can have properly indented paragraphs within list items. Notice the blank line above, and the leading spaces (at least one, but we'll use three here to also align the raw Markdown). - -⋅⋅⋅To have a line break without a paragraph, you will need to use two trailing spaces.⋅⋅ -⋅⋅⋅Note that this line is separate, but within the same paragraph.⋅⋅ -⋅⋅⋅(This is contrary to the typical GFM line break behaviour, where trailing spaces are not required.) - -* Unordered list can use asterisks -- Or minuses -+ Or pluses -``` - -1. First ordered list item -2. Another item - * Unordered sub-list. -1. Actual numbers don't matter, just that it's a number - 1. Ordered sub-list -4. And another item. - - You can have properly indented paragraphs within list items. Notice the blank line above, and the leading spaces (at least one, but we'll use three here to also align the raw Markdown). - - To have a line break without a paragraph, you will need to use two trailing spaces. - Note that this line is separate, but within the same paragraph. - (This is contrary to the typical GFM line break behaviour, where trailing spaces are not required.) - -* Unordered list can use asterisks -- Or minuses -+ Or pluses - - -## Links - -There are two ways to create links. - -```no-highlight -[I'm an inline-style link](https://www.google.com) - -[I'm an inline-style link with title](https://www.google.com "Google's Homepage") - -[I'm a reference-style link][Arbitrary case-insensitive reference text] - -[I'm a relative reference to a repository file](../blob/master/LICENSE) - -[You can use numbers for reference-style link definitions][1] - -Or leave it empty and use the [link text itself]. - -URLs and URLs in angle brackets will automatically get turned into links. -http://www.example.com or and sometimes -example.com (but not on Github, for example). - -Some text to show that the reference links can follow later. - -[arbitrary case-insensitive reference text]: https://www.mozilla.org -[1]: http://slashdot.org -[link text itself]: http://www.reddit.com -``` - -[I'm an inline-style link](https://www.google.com) - -[I'm an inline-style link with title](https://www.google.com "Google's Homepage") - -[I'm a reference-style link][Arbitrary case-insensitive reference text] - -[I'm a relative reference to a repository file](../blob/master/LICENSE) - -[You can use numbers for reference-style link definitions][1] - -Or leave it empty and use the [link text itself]. - -URLs and URLs in angle brackets will automatically get turned into links. -http://www.example.com or and sometimes -example.com (but not on Github, for example). - -Some text to show that the reference links can follow later. - -[arbitrary case-insensitive reference text]: https://www.mozilla.org -[1]: http://slashdot.org -[link text itself]: http://www.reddit.com - - -## Images - -```no-highlight -Here's our logo (hover to see the title text): - -Inline-style: -![alt text](https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "Logo Title Text 1") - -Reference-style: -![alt text][logo] - -[logo]: https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "Logo Title Text 2" -``` - -Here's our logo (hover to see the title text): - -Inline-style: -![alt text](https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "Logo Title Text 1") - -Reference-style: -![alt text][logo] - -[logo]: https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "Logo Title Text 2" - - -## Code and Syntax Highlighting - -Code blocks are part of the Markdown spec, but syntax highlighting isn't. However, many renderers -- like Github's and *Markdown Here* -- support syntax highlighting. Which languages are supported and how those language names should be written will vary from renderer to renderer. *Markdown Here* supports highlighting for dozens of languages (and not-really-languages, like diffs and HTTP headers); to see the complete list, and how to write the language names, see the [highlight.js demo page](http://softwaremaniacs.org/media/soft/highlight/test.html). - -```no-highlight -Inline `code` has `back-ticks around` it. -``` - -Inline `code` has `back-ticks around` it. - -Blocks of code are either fenced by lines with three back-ticks ```, or are indented with four spaces. I recommend only using the fenced code blocks -- they're easier and only they support syntax highlighting. - -
```javascript
-var s = "JavaScript syntax highlighting";
-alert(s);
-```
-
-```python
-s = "Python syntax highlighting"
-print s
-```
-
-```
-No language indicated, so no syntax highlighting.
-But let's throw in a <b>tag</b>.
-```
-
- - - -```javascript -var s = "JavaScript syntax highlighting"; -alert(s); -``` - -```python -s = "Python syntax highlighting" -print s -``` - -``` -No language indicated, so no syntax highlighting in Markdown Here (varies on Github). -But let's throw in a tag. -``` - - -
-## Tables - -Tables aren't part of the core Markdown spec, but they are part of GFM and *Markdown Here* supports them. They are an easy way of adding tables to your email -- a task that would otherwise require copy-pasting from another application. - -```no-highlight -Colons can be used to align columns. - -| Tables | Are | Cool | -| ------------- |:-------------:| -----:| -| col 3 is | right-aligned | $1600 | -| col 2 is | centered | $12 | -| zebra stripes | are neat | $1 | - -There must be at least 3 dashes separating each header cell. -The outer pipes (|) are optional, and you don't need to make the -raw Markdown line up prettily. You can also use inline Markdown. - -Markdown | Less | Pretty ---- | --- | --- -*Still* | `renders` | **nicely** -1 | 2 | 3 -``` - -Colons can be used to align columns. - -| Tables | Are | Cool | -| ------------- |:-------------:| -----:| -| col 3 is | right-aligned | $1600 | -| col 2 is | centered | $12 | -| zebra stripes | are neat | $1 | - -There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown. - -Markdown | Less | Pretty ---- | --- | --- -*Still* | `renders` | **nicely** -1 | 2 | 3 - - -## Blockquotes - -```no-highlight -> Blockquotes are very handy in email to emulate reply text. -> This line is part of the same quote. - -Quote break. - -> This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can *put* **Markdown** into a blockquote. -``` - -> Blockquotes are very handy in email to emulate reply text. -> This line is part of the same quote. - -Quote break. - -> This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can *put* **Markdown** into a blockquote. - - -## Inline HTML - -You can also use raw HTML in your Markdown, and it'll mostly work pretty well. - -```no-highlight -
-
Definition list
-
Is something people use sometimes.
- -
Markdown in HTML
-
Does *not* work **very** well. Use HTML tags.
-
-``` - -
-
Definition list
-
Is something people use sometimes.
- -
Markdown in HTML
-
Does *not* work **very** well. Use HTML tags.
-
- -
-## Horizontal Rule - -``` -Three or more... - ---- - -Hyphens - -*** - -Asterisks - -___ - -Underscores -``` - -Three or more... - ---- - -Hyphens - -*** - -Asterisks - -___ - -Underscores - - -## Line Breaks - -My basic recommendation for learning how line breaks work is to experiment and discover -- hit <Enter> once (i.e., insert one newline), then hit it twice (i.e., insert two newlines), see what happens. You'll soon learn to get what you want. "Markdown Toggle" is your friend. - -Here are some things to try out: - -``` -Here's a line for us to start with. - -This line is separated from the one above by two newlines, so it will be a *separate paragraph*. - -This line is also a separate paragraph, but... -This line is only separated by a single newline, so it's a separate line in the *same paragraph*. -``` - -Here's a line for us to start with. - -This line is separated from the one above by two newlines, so it will be a *separate paragraph*. - -This line is also begins a separate paragraph, but... -This line is only separated by a single newline, so it's a separate line in the *same paragraph*. - -(Technical note: *Markdown Here* uses GFM line breaks, so there's no need to use MD's two-space line breaks.) - - -## Youtube videos - -They can't be added directly but you can add an image with a link to the video like this: - -```no-highlight - -``` - -Or, in pure Markdown, but losing the image sizing and border: - -```no-highlight -[![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/0.jpg)](http://www.youtube.com/watch?v=YOUTUBE_VIDEO_ID_HERE) -``` - -Referencing a bug by #bugID in your git commit links it to the slip. For example #1. - ---- - -License: [CC-BY](https://creativecommons.org/licenses/by/3.0/) diff --git a/_docs/examples/font-awesome.md b/_docs/examples/font-awesome.md deleted file mode 100644 index 75360f360..000000000 --- a/_docs/examples/font-awesome.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: Font Awesome Icon List -permalink: /docs/font-awesome/ -description: Demo of all Font Awesome icons ---- - - - -
500px
address-book
address-book-o
address-card
address-card-o
adjust
adn
align-center
align-justify
align-left
align-right
amazon
ambulance
american-sign-language-interpreting
anchor
android
angellist
angle-double-down
angle-double-left
angle-double-right
angle-double-up
angle-down
angle-left
angle-right
angle-up
apple
archive
area-chart
arrow-circle-down
arrow-circle-left
arrow-circle-o-down
arrow-circle-o-left
arrow-circle-o-right
arrow-circle-o-up
arrow-circle-right
arrow-circle-up
arrow-down
arrow-left
arrow-right
arrow-up
arrows
arrows-alt
arrows-h
arrows-v
assistive-listening-systems
asterisk
at
audio-description
backward
balance-scale
ban
bandcamp
bar-chart
barcode
bars
bath
battery-empty
battery-full
battery-half
battery-quarter
battery-three-quarters
bed
beer
behance
behance-square
bell
bell-o
bell-slash
bell-slash-o
bicycle
binoculars
birthday-cake
bitbucket
bitbucket-square
black-tie
blind
bluetooth
bluetooth-b
bold
bolt
bomb
book
bookmark
bookmark-o
braille
briefcase
btc
bug
building
building-o
bullhorn
bullseye
bus
buysellads
calculator
calendar
calendar-check-o
calendar-minus-o
calendar-o
calendar-plus-o
calendar-times-o
camera
camera-retro
car
caret-down
caret-left
caret-right
caret-square-o-down
caret-square-o-left
caret-square-o-right
caret-square-o-up
caret-up
cart-arrow-down
cart-plus
cc
cc-amex
cc-diners-club
cc-discover
cc-jcb
cc-mastercard
cc-paypal
cc-stripe
cc-visa
certificate
chain-broken
check
check-circle
check-circle-o
check-square
check-square-o
chevron-circle-down
chevron-circle-left
chevron-circle-right
chevron-circle-up
chevron-down
chevron-left
chevron-right
chevron-up
child
chrome
circle
circle-o
circle-o-notch
circle-thin
clipboard
clock-o
clone
cloud
cloud-download
cloud-upload
code
code-fork
codepen
codiepie
coffee
cog
cogs
columns
comment
comment-o
commenting
commenting-o
comments
comments-o
compass
compress
connectdevelop
contao
copyright
creative-commons
credit-card
credit-card-alt
crop
crosshairs
css3
cube
cubes
cutlery
dashcube
database
deaf
delicious
desktop
deviantart
diamond
digg
dot-circle-o
download
dribbble
dropbox
drupal
edge
eercast
eject
ellipsis-h
ellipsis-v
empire
envelope
envelope-o
envelope-open
envelope-open-o
envelope-square
envira
eraser
etsy
eur
exchange
exclamation
exclamation-circle
exclamation-triangle
expand
expeditedssl
external-link
external-link-square
eye
eye-slash
eyedropper
facebook
facebook-official
facebook-square
fast-backward
fast-forward
fax
female
fighter-jet
file
file-archive-o
file-audio-o
file-code-o
file-excel-o
file-image-o
file-o
file-pdf-o
file-powerpoint-o
file-text
file-text-o
file-video-o
file-word-o
files-o
film
filter
fire
fire-extinguisher
firefox
first-order
flag
flag-checkered
flag-o
flask
flickr
floppy-o
folder
folder-o
folder-open
folder-open-o
font
font-awesome
fonticons
fort-awesome
forumbee
forward
foursquare
free-code-camp
frown-o
futbol-o
gamepad
gavel
gbp
genderless
get-pocket
gg
gg-circle
gift
git
git-square
github
github-alt
github-square
gitlab
glass
glide
glide-g
globe
google
google-plus
google-plus-official
google-plus-square
google-wallet
graduation-cap
gratipay
grav
h-square
hacker-news
hand-lizard-o
hand-o-down
hand-o-left
hand-o-right
hand-o-up
hand-paper-o
hand-peace-o
hand-pointer-o
hand-rock-o
hand-scissors-o
hand-spock-o
handshake-o
hashtag
hdd-o
header
headphones
heart
heart-o
heartbeat
history
home
hospital-o
hourglass
hourglass-end
hourglass-half
hourglass-o
hourglass-start
houzz
html5
i-cursor
id-badge
id-card
id-card-o
ils
imdb
inbox
indent
industry
info
info-circle
inr
instagram
internet-explorer
ioxhost
italic
joomla
jpy
jsfiddle
key
keyboard-o
krw
language
laptop
lastfm
lastfm-square
leaf
leanpub
lemon-o
level-down
level-up
life-ring
lightbulb-o
line-chart
link
linkedin
linkedin-square
linode
linux
list
list-alt
list-ol
list-ul
location-arrow
lock
long-arrow-down
long-arrow-left
long-arrow-right
long-arrow-up
low-vision
magic
magnet
male
map
map-marker
map-o
map-pin
map-signs
mars
mars-double
mars-stroke
mars-stroke-h
mars-stroke-v
maxcdn
meanpath
medium
medkit
meetup
meh-o
mercury
microchip
microphone
microphone-slash
minus
minus-circle
minus-square
minus-square-o
mixcloud
mobile
modx
money
moon-o
motorcycle
mouse-pointer
music
neuter
newspaper-o
object-group
object-ungroup
odnoklassniki
odnoklassniki-square
opencart
openid
opera
optin-monster
outdent
pagelines
paint-brush
paper-plane
paper-plane-o
paperclip
paragraph
pause
pause-circle
pause-circle-o
paw
paypal
pencil
pencil-square
pencil-square-o
percent
phone
phone-square
picture-o
pie-chart
pied-piper
pied-piper-alt
pied-piper-pp
pinterest
pinterest-p
pinterest-square
plane
play
play-circle
play-circle-o
plug
plus
plus-circle
plus-square
plus-square-o
podcast
power-off
print
product-hunt
puzzle-piece
qq
qrcode
question
question-circle
question-circle-o
quora
quote-left
quote-right
random
ravelry
rebel
recycle
reddit
reddit-alien
reddit-square
refresh
registered
renren
repeat
reply
reply-all
retweet
road
rocket
rss
rss-square
rub
safari
scissors
scribd
search
search-minus
search-plus
sellsy
server
share
share-alt
share-alt-square
share-square
share-square-o
shield
ship
shirtsinbulk
shopping-bag
shopping-basket
shopping-cart
shower
sign-in
sign-language
sign-out
signal
simplybuilt
sitemap
skyatlas
skype
slack
sliders
slideshare
smile-o
snapchat
snapchat-ghost
snapchat-square
snowflake-o
sort
sort-alpha-asc
sort-alpha-desc
sort-amount-asc
sort-amount-desc
sort-asc
sort-desc
sort-numeric-asc
sort-numeric-desc
soundcloud
space-shuttle
spinner
spoon
spotify
square
square-o
stack-exchange
stack-overflow
star
star-half
star-half-o
star-o
steam
steam-square
step-backward
step-forward
stethoscope
sticky-note
sticky-note-o
stop
stop-circle
stop-circle-o
street-view
strikethrough
stumbleupon
stumbleupon-circle
subscript
subway
suitcase
sun-o
superpowers
superscript
table
tablet
tachometer
tag
tags
tasks
taxi
telegram
television
tencent-weibo
terminal
text-height
text-width
th
th-large
th-list
themeisle
thermometer-empty
thermometer-full
thermometer-half
thermometer-quarter
thermometer-three-quarters
thumb-tack
thumbs-down
thumbs-o-down
thumbs-o-up
thumbs-up
ticket
times
times-circle
times-circle-o
tint
toggle-off
toggle-on
trademark
train
transgender
transgender-alt
trash
trash-o
tree
trello
tripadvisor
trophy
truck
try
tty
tumblr
tumblr-square
twitch
twitter
twitter-square
umbrella
underline
undo
universal-access
university
unlock
unlock-alt
upload
usb
usd
user
user-circle
user-circle-o
user-md
user-o
user-plus
user-secret
user-times
users
venus
venus-double
venus-mars
viacoin
viadeo
viadeo-square
video-camera
vimeo
vimeo-square
vine
vk
volume-control-phone
volume-down
volume-off
volume-up
weibo
weixin
whatsapp
wheelchair
wheelchair-alt
wifi
wikipedia-w
window-close
window-close-o
window-maximize
window-minimize
window-restore
windows
wordpress
wpbeginner
wpexplorer
wpforms
wrench
xing
xing-square
y-combinator
yahoo
yelp
yoast
youtube
youtube-play
youtube-square
diff --git a/_docs/index.md b/_docs/index.md index a52a4c29a..bb1fde7dd 100644 --- a/_docs/index.md +++ b/_docs/index.md @@ -4,47 +4,18 @@ permalink: /docs/home/ redirect_from: /docs/index.html --- -## Getting started +## 欢迎加入CodingApi -[GitHub Pages](https://pages.github.com) can automatically generate and serve the website for you. -Let's say you have a username/organisation `my-org` and project `my-proj`; if you locate Jekyll source under `docs` folder of master branch in your repo `github.com/my-org/my-proj`, the website will be served on `my-org.github.io/my-proj`. -The good thing about coupling your documentation with the source repo is, whenever you merge features with regarding content to master branch, it will also be published on the webpage instantly. + 我曾经得意与我是一名优秀的程序员,我可以用更短的时间做出更好的东西。我曾经得意与我是一名架构师,我可以将负责的系统架构用清晰的架构来规划出实现思路。我现在是公司CTO,我发现一个好的产品靠一个好的程序员或是好的架构师也根本打造不出来。 -1. Just [download the source](https://github.com/aksakalli/jekyll-doc-theme/archive/gh-pages.zip) into your repo under `docs` folder. -2. Edit site settings in `_config.yml` file according to your project. !!! `baseurl` should be your website's relative URI like `/my-proj` !!! -3. Replace `favicon.ico` and `img/logonav.png` with your own logo. + 我想任何人在小时候,小老师和家长都在说应该好好学习,大家肯定都认可好好学习是对的。突然有人说他晚上写作业写到很晚时,然后你也会附和一下,还特意将头转向对方然后对他说:恩,我有时候也这样。 -## Writing content + 我给很多人讲敏捷思维后,很多人也都说,嗯嗯 就是这样,我们也这样做需求或什么..。我想问那为什么项目还是做黄了,读敏捷管理,你就知道其实它只是一个宣言,并没有告诉大家具体落地的方式。 -### Docs + 大道理大家都懂,但是如何以一种的好的方式去激励着自己前行下去才是最有价值的东西。 -Docs are [collections](https://jekyllrb.com/docs/collections/) of pages stored under `_docs` folder. To create a new page: + 我认为敏捷思维,至少需要从三种角度去落地:项目管理、技术能力、团队激励。只有建立一套优良的制度体系才能让敏捷落地。加入CodingApi,大家一同去探索与学习如何从0开始搭建敏捷之路。 -**1.** Create a new Markdown as `_docs/my-page.md` and write [front matter](https://jekyllrb.com/docs/frontmatter/) & content such as: -``` ---- -title: My Page -permalink: /docs/my-page/ ---- - -Hello World! -``` - -**2.** Add the pagename to `_data/docs.yml` file in order to list in docs navigation panel: - -``` -- title: My Group Title - docs: - - my-page -``` - -### Blog posts - -Add a new Markdown file such as `2017-05-09-my-post.md` and write the content similar to other post examples. - -### Pages - -The homepage is located under `index.html` file. You can change the content or design completely different welcome page for your taste. (You can use [bootstrap components](http://getbootstrap.com/components/)) +
-In order to add a new page, create a new `.html` or `.md` (markdown) file under root directory and link it in `_includes/topnav.html`. diff --git a/_docs/themes.md b/_docs/themes.md deleted file mode 100644 index 9e1c70c22..000000000 --- a/_docs/themes.md +++ /dev/null @@ -1,248 +0,0 @@ ---- -title: Themes -permalink: /docs/themes/ ---- - -By default, this website uses `paper` theme, but you can change it to another [bootwatch theme](https://bootswatch.com/3/) by setting -`bootwatch` variable in `_config.yml` file. -(Don't forget to restart `Jekyll` if you are running locally because the configuration is not re-read upon change.) - -
- -
-
-
- Cerulean -
-
-

Cerulean

-

A calm blue sky

-
-
-
- -
-
-
- Cosmo -
-
-

Cosmo

-

An ode to Metro

-
-
-
- -
-
-
- Cyborg -
-
-

Cyborg

-

Jet black and electric blue

- - -
-
-
- -
-
-
- Darkly -
-
-

Darkly

-

Flatly in night mode

- - -
-
-
- -
-
-
- Flatly -
-
-

Flatly

-

Flat and modern

- - -
-
-
- -
-
-
- Journal -
-
-

Journal

-

Crisp like a new sheet of paper

- - -
-
-
- -
-
-
- Lumen -
-
-

Lumen

-

Light and shadow

- - -
-
-
- -
-
-
- Paper -
-
-

Paper

-

Material is the metaphor

- - -
-
-
- -
-
-
- Readable -
-
-

Readable

-

Optimized for legibility

- - -
-
-
- -
-
-
- Sandstone -
-
-

Sandstone

-

A touch of warmth

- - -
-
-
- -
-
-
- Simplex -
-
-

Simplex

-

Mini and minimalist

- - -
-
-
- -
-
-
- Slate -
-
-

Slate

-

Shades of gunmetal gray

- - - -
-
-
- -
-
-
- Solar -
-
-

Solar

-

A spin on Solarized

- - -
-
-
- -
-
-
- Spacelab -
-
-

Spacelab

-

Silvery and sleek

- - -
-
-
- -
-
-
- Superhero -
-
-

Superhero

-

The brave and the blue

- - -
-
-
- -
-
-
- United -
-
-

United

-

Ubuntu orange and unique font

- - -
-
-
- -
-
-
- Yeti -
-
-

Yeti

-

A friendly foundation

- - -
-
-
- - -
diff --git a/_includes/footer.html b/_includes/footer.html index 1a7cca5d6..34a1994aa 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,10 +1,9 @@ diff --git a/_includes/head.html b/_includes/head.html index c87423a23..1f3d8d697 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -11,4 +11,13 @@ + diff --git a/_includes/topnav.html b/_includes/topnav.html index 415cd7c49..db4f3a9aa 100644 --- a/_includes/topnav.html +++ b/_includes/topnav.html @@ -8,7 +8,7 @@ - Logo {{ site.title }} + {{ site.title }}