mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-22 08:45:42 +08:00
Fix version (#3354)
This commit is contained in:
parent
07fe224817
commit
e53d3612fc
@ -7,23 +7,7 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
|
|
||||||
let s:AUTODOC = SpaceVim#api#import('dev#autodoc')
|
let s:AUTODOC = SpaceVim#api#import('dev#autodoc')
|
||||||
let s:AUTODOC.begin = '^<!-- SpaceVim roadmap completed items start -->$'
|
|
||||||
let s:AUTODOC.end = '^<!-- SpaceVim roadmap completed items end -->$'
|
|
||||||
|
|
||||||
function! s:generate_content() abort
|
|
||||||
let content = ['## Completed',
|
|
||||||
\ ''
|
|
||||||
\ ]
|
|
||||||
let content += s:get_milestones()
|
|
||||||
return content
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
let s:AUTODOC.content_func = function('s:generate_content')
|
|
||||||
let s:AUTODOC.autoformat = 1
|
|
||||||
|
|
||||||
function! SpaceVim#dev#roadmap#updateCompletedItems() abort
|
|
||||||
call s:AUTODOC.update()
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
function! s:get_milestones() abort
|
function! s:get_milestones() abort
|
||||||
let milestones = github#api#issues#ListAllMilestones('SpaceVim', 'SpaceVim', 'closed', 'due_on', 'asc')
|
let milestones = github#api#issues#ListAllMilestones('SpaceVim', 'SpaceVim', 'closed', 'due_on', 'asc')
|
||||||
@ -44,3 +28,51 @@ function! s:get_milestones() abort
|
|||||||
endif
|
endif
|
||||||
return line
|
return line
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
function! s:generate_content() abort
|
||||||
|
let content = ['## Completed',
|
||||||
|
\ ''
|
||||||
|
\ ]
|
||||||
|
let content += s:get_milestones()
|
||||||
|
return content
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
function! s:get_milestones_cn() abort
|
||||||
|
let milestones = github#api#issues#ListAllMilestones('SpaceVim', 'SpaceVim', 'closed', 'due_on', 'asc')
|
||||||
|
let line = []
|
||||||
|
|
||||||
|
for milestone in milestones
|
||||||
|
call add(line, '### [' . milestone.title . '](' . milestone.html_url . ')' )
|
||||||
|
call add(line, '')
|
||||||
|
if !empty(get(milestone, 'description', ''))
|
||||||
|
let line += split(milestone.description, "\n")
|
||||||
|
call add(line, '')
|
||||||
|
endif
|
||||||
|
call add(line, 'release note: [' . milestone.title . '](http://spacevim.org/SpaceVim-release-' . milestone.title . '/)' )
|
||||||
|
call add(line, '')
|
||||||
|
endfor
|
||||||
|
if line[-1] !=# ''
|
||||||
|
let line += ['']
|
||||||
|
endif
|
||||||
|
return line
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
function! s:generate_content_cn() abort
|
||||||
|
let content = ['## 已完成',
|
||||||
|
\ ''
|
||||||
|
\ ]
|
||||||
|
let content += s:get_milestones_cn()
|
||||||
|
return content
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
function! SpaceVim#dev#roadmap#updateCompletedItems(lang) abort
|
||||||
|
let s:AUTODOC.begin = '^<!-- SpaceVim roadmap completed items start -->$'
|
||||||
|
let s:AUTODOC.end = '^<!-- SpaceVim roadmap completed items end -->$'
|
||||||
|
if a:lang == 'cn'
|
||||||
|
let s:AUTODOC.content_func = function('s:generate_content_cn')
|
||||||
|
else
|
||||||
|
let s:AUTODOC.content_func = function('s:generate_content')
|
||||||
|
endif
|
||||||
|
let s:AUTODOC.autoformat = 1
|
||||||
|
call s:AUTODOC.update()
|
||||||
|
endfunction
|
||||||
|
@ -50,7 +50,7 @@ SpaceVim 是一个社区驱动的模块化的 Vim IDE,以模块的方式组织
|
|||||||
|
|
||||||
- 目前 SpaceVim 的开发状态如何?
|
- 目前 SpaceVim 的开发状态如何?
|
||||||
|
|
||||||
当前最新发布的稳定版本是 v1.2.0。可以查看 [时间表](https://github.com/SpaceVim/SpaceVim/milestones) 获取开发进度,
|
当前最新发布的稳定版本是 v1.3.0。可以查看 [时间表](https://github.com/SpaceVim/SpaceVim/milestones) 获取开发进度,
|
||||||
或者阅读 [Roadmap](roadmap/) 获取开发计划。
|
或者阅读 [Roadmap](roadmap/) 获取开发计划。
|
||||||
|
|
||||||
- SpaceVim 是尝试搭建一个 IDE 吗?
|
- SpaceVim 是尝试搭建一个 IDE 吗?
|
||||||
@ -61,12 +61,12 @@ SpaceVim 是一个社区驱动的模块化的 Vim IDE,以模块的方式组织
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
~/.SpaceVim> ls autoload/SpaceVim/layers/lang | wc -l
|
~/.SpaceVim> ls autoload/SpaceVim/layers/lang | wc -l
|
||||||
78
|
87
|
||||||
```
|
```
|
||||||
|
|
||||||
- SpaceVim 支持什么版本的 Vim/Neovim?
|
- SpaceVim 支持什么版本的 Vim/Neovim?
|
||||||
|
|
||||||
建议使用 Vim 7.4 或者 Neovim v0.1.7及其以上版本。
|
建议使用 Vim 7.4 或者 Neovim v0.1.7及其以上版本。为了更好的使用体验,建议使用最新版的 Neovim。
|
||||||
|
|
||||||
更多常见问题请阅读[常见问题解答](faq/)
|
更多常见问题请阅读[常见问题解答](faq/)
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ SpaceVim 的设计蓝图和[里程碑](https://github.com/SpaceVim/SpaceVim/mile
|
|||||||
- [下一个版本](#下一个版本)
|
- [下一个版本](#下一个版本)
|
||||||
- [v1.4.0](#v140)
|
- [v1.4.0](#v140)
|
||||||
- [版本说明](#版本说明)
|
- [版本说明](#版本说明)
|
||||||
- [Completed](#completed)
|
- [已完成](#已完成)
|
||||||
- [v0.1.0](#v010)
|
- [v0.1.0](#v010)
|
||||||
- [v0.2.0](#v020)
|
- [v0.2.0](#v020)
|
||||||
- [v0.3.0](#v030)
|
- [v0.3.0](#v030)
|
||||||
@ -45,11 +45,11 @@ There are release milestones and meta milestones ("buckets").
|
|||||||
- [todo](https://github.com/SpaceVim/SpaceVim/milestone/4) is a bucket for triaged tickets which should be on the roadmap but cannot yet be assigned to a concrete milestone.
|
- [todo](https://github.com/SpaceVim/SpaceVim/milestone/4) is a bucket for triaged tickets which should be on the roadmap but cannot yet be assigned to a concrete milestone.
|
||||||
- [unplanned](https://github.com/SpaceVim/SpaceVim/milestone/5) is a bucket for low-priority items or items lacking a feasible path to completion.
|
- [unplanned](https://github.com/SpaceVim/SpaceVim/milestone/5) is a bucket for low-priority items or items lacking a feasible path to completion.
|
||||||
|
|
||||||
<!-- call SpaceVim#dev#roadmap#updateCompletedItems() -->
|
<!-- call SpaceVim#dev#roadmap#updateCompletedItems('cn') -->
|
||||||
|
|
||||||
<!-- SpaceVim roadmap completed items start -->
|
<!-- SpaceVim roadmap completed items start -->
|
||||||
|
|
||||||
## Completed
|
## 已完成
|
||||||
|
|
||||||
### [v0.1.0](https://github.com/SpaceVim/SpaceVim/milestone/1)
|
### [v0.1.0](https://github.com/SpaceVim/SpaceVim/milestone/1)
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ Contribute code, report bugs and request features at [GitHub](https://github.com
|
|||||||
|
|
||||||
- What is the project status?
|
- What is the project status?
|
||||||
|
|
||||||
The current stable version is v1.2.0, See the [milestones page](https://github.com/SpaceVim/SpaceVim/milestones)
|
The current stable version is v1.3.0, See the [milestones page](https://github.com/SpaceVim/SpaceVim/milestones)
|
||||||
for development progress and the [Roadmap](roadmap/) for high-level plans.
|
for development progress and the [Roadmap](roadmap/) for high-level plans.
|
||||||
|
|
||||||
- Is SpaceVim trying to turn Vim/Neovim into an IDE?
|
- Is SpaceVim trying to turn Vim/Neovim into an IDE?
|
||||||
@ -70,7 +70,7 @@ With layers feature, this version of Vim distribution try to turn Vim/Neovim int
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
~/.SpaceVim> ls autoload/SpaceVim/layers/lang | wc -l
|
~/.SpaceVim> ls autoload/SpaceVim/layers/lang | wc -l
|
||||||
78
|
87
|
||||||
```
|
```
|
||||||
|
|
||||||
- Which version of Vim/Neovim is needed?
|
- Which version of Vim/Neovim is needed?
|
||||||
|
@ -10,7 +10,7 @@ The roadmap and [milestones](https://github.com/SpaceVim/SpaceVim/milestones) de
|
|||||||
<!-- vim-markdown-toc GFM -->
|
<!-- vim-markdown-toc GFM -->
|
||||||
|
|
||||||
- [Next](#next)
|
- [Next](#next)
|
||||||
- [v1.3.0](#v130)
|
- [v1.4.0](#v140)
|
||||||
- [Meta](#meta)
|
- [Meta](#meta)
|
||||||
- [Completed](#completed)
|
- [Completed](#completed)
|
||||||
- [v0.1.0](#v010)
|
- [v0.1.0](#v010)
|
||||||
@ -25,12 +25,14 @@ The roadmap and [milestones](https://github.com/SpaceVim/SpaceVim/milestones) de
|
|||||||
- [v0.9.0](#v090)
|
- [v0.9.0](#v090)
|
||||||
- [v1.0.0](#v100)
|
- [v1.0.0](#v100)
|
||||||
- [v1.1.0](#v110)
|
- [v1.1.0](#v110)
|
||||||
|
- [v1.2.0](#v120)
|
||||||
|
- [v1.3.0](#v130)
|
||||||
|
|
||||||
<!-- vim-markdown-toc -->
|
<!-- vim-markdown-toc -->
|
||||||
|
|
||||||
## Next
|
## Next
|
||||||
|
|
||||||
### [v1.3.0](https://github.com/SpaceVim/SpaceVim/milestone/16)
|
### [v1.4.0](https://github.com/SpaceVim/SpaceVim/milestone/17)
|
||||||
|
|
||||||
## Meta
|
## Meta
|
||||||
|
|
||||||
@ -42,7 +44,7 @@ There are release milestones and meta milestones ("buckets").
|
|||||||
- [todo](https://github.com/SpaceVim/SpaceVim/milestone/4) is a bucket for triaged tickets which should be on the roadmap but cannot yet be assigned to a concrete milestone.
|
- [todo](https://github.com/SpaceVim/SpaceVim/milestone/4) is a bucket for triaged tickets which should be on the roadmap but cannot yet be assigned to a concrete milestone.
|
||||||
- [unplanned](https://github.com/SpaceVim/SpaceVim/milestone/5) is a bucket for low-priority items or items lacking a feasible path to completion.
|
- [unplanned](https://github.com/SpaceVim/SpaceVim/milestone/5) is a bucket for low-priority items or items lacking a feasible path to completion.
|
||||||
|
|
||||||
<!-- call SpaceVim#dev#roadmap#updateCompletedItems() -->
|
<!-- call SpaceVim#dev#roadmap#updateCompletedItems('en') -->
|
||||||
|
|
||||||
<!-- SpaceVim roadmap completed items start -->
|
<!-- SpaceVim roadmap completed items start -->
|
||||||
|
|
||||||
@ -132,8 +134,14 @@ release note: [v1.0.0](http://spacevim.org/SpaceVim-release-v1.0.0/)
|
|||||||
|
|
||||||
### [v1.1.0](https://github.com/SpaceVim/SpaceVim/milestone/14)
|
### [v1.1.0](https://github.com/SpaceVim/SpaceVim/milestone/14)
|
||||||
|
|
||||||
First stable release of SpaceVim
|
|
||||||
|
|
||||||
release note: [v1.1.0](http://spacevim.org/SpaceVim-release-v1.1.0/)
|
release note: [v1.1.0](http://spacevim.org/SpaceVim-release-v1.1.0/)
|
||||||
|
|
||||||
|
### [v1.2.0](https://github.com/SpaceVim/SpaceVim/milestone/15)
|
||||||
|
|
||||||
|
release note: [v1.2.0](http://spacevim.org/SpaceVim-release-v1.2.0/)
|
||||||
|
|
||||||
|
### [v1.3.0](https://github.com/SpaceVim/SpaceVim/milestone/16)
|
||||||
|
|
||||||
|
release note: [v1.3.0](http://spacevim.org/SpaceVim-release-v1.3.0/)
|
||||||
|
|
||||||
<!-- SpaceVim roadmap completed items end -->
|
<!-- SpaceVim roadmap completed items end -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user