Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions _data/nav.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
- title: Home
url: /
- title: About
url: /about/
sections:
- title: Charter
url: /charter/
- title: Roadmap
url: /roadmap/
- title: News
url: /news/
- title: Documentation
url: /doc/
- title: Community
url: /community/
- title: Development
url: https://github.com/neovim/neovim
- title: Community
url: /community/
- title: Documentation
url: /doc/
- title: Sponsors
url: /sponsors/
59 changes: 42 additions & 17 deletions _includes/nav.html
Original file line number Diff line number Diff line change
@@ -1,22 +1,47 @@
<header class="navbar">
<div class="container">
<nav class="site-nav">
<ul>
{% for nav in site.data.nav %}
{% if include.active == nav.title %}
<li class="current">
{% else %}
<li>
{% endif %}
{% if nav.url contains 'http://' or nav.url contains 'https://' %}
<a href="{{ nav.url }}">{{ nav.title }}</a>
{% else %}
<a href="{{ site.baseurl }}{{ nav.url }}">{{ nav.title }}</a>
{% endif %}
</li>
{% endfor %}
</ul>
<nav class="navbar">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#menu" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<img src="{{ site.baseurl }}/images/icons/icon-menu.svg" alt="Toggle navigation" class="navbar-top-align">
</button>
<a href="{{ site.baseurl }}/" class="navbar-brand">
<img src="{{ site.baseurl }}/images/[email protected]" id="navbar-logo" alt="Neovim">
</a>
</div>
<div class="collapse navbar-collapse navbar-top-align" id="menu">
<ul class="nav navbar-nav navbar-right">
{% for nav in site.data.nav %}
{% if include.active == nav.title %}
<li class="current">
{% else %}
<li>
{% endif %}
{% if nav.url contains 'http://' or nav.url contains 'https://' %}
<a {% if nav.sections != null %}href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"{% else %}href="{{ nav.url }}"{% endif %}>{{ nav.title }}</a>
{% else %}
<a {% if nav.sections != null %}href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"{% else %}href="{{ site.baseurl }}{{ nav.url }}"{% endif %}>{{ nav.title }}</a>
{% endif %}
{% if nav.sections != null %}
<ul class="dropdown-menu">
{% for section in nav.sections %}
<li>
{% if section.url contains 'http://' or section.url contains 'https://' %}
<a href="{{ section.url }}">{{ section.title }}</a>
{% else %}
<a href="{{ site.baseurl }}{{ section.url }}">{{ section.title }}</a>
{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
</li>
{% endfor %}
</ul>
</div>
</div>
</nav>
<a href="{{ site.baseurl }}/"><img src="{{ site.baseurl }}/images/[email protected]" class="logo" alt="Neovim"></a>
</div>
</header>
2 changes: 2 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }}</title>
<link href="http://fonts.googleapis.com/css?family=Lato:400,700,900" rel="stylesheet">
<link href="//cdnjs.cloudflare.com/ajax/libs/normalize/3.0.0/normalize.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link href="{{ site.baseurl }}/css/main.css" rel="stylesheet">
<link rel="canonical" href="http://neovim.io{% if page.canonical_url %}{{ page.canonical_url }}{% else %}{{ page.url }}{% endif %}" />
<!--[if lt IE 9]>
Expand All @@ -33,5 +34,6 @@
</script>
<script src="{{ site.baseurl }}/js/sponsors-override.js"></script>
<script src="{{ site.baseurl }}/js/sponsors.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</body>
</html>
17 changes: 17 additions & 0 deletions about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
layout: default
title: About
---

{% include nav.html active='About' %}

<div class="container">

<h1>About</h1>

<ul>
<li><a href="charter/">Charter</a></li>
<li><a href="roadmap/">Roadmap</a></li>
</ul>

</div>
70 changes: 70 additions & 0 deletions charter.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
---
layout: default
title: About
---

{% include nav.html active='About' %}

<div class="container">

<h1>Project Charter</h1>

<p>Neovim is not a rewrite of Vim; it is a refactor (and sometimes redactor) in
the tradition of Vim which itself derives from <a
href="https://en.wikipedia.org/wiki/Stevie_%28text_editor%29">Stevie</a>.</p>

<p>Neovim is a continuation and extension of Vim. Many rewrites, clones,
emulators and imitators exist; some are very clever; none are Vim. Neovim
strives to be a superset of Vim, notwithstanding some intentionally removed
misfeatures; thus insofar as one accepts those few and carefully-considered
excisions, Neovim <em>is</em> Vim. The project is built for users who want the good
parts of Vim, without compromise, plus some new good parts.</p>

<p>The design of Neovim is informed by established industry principles such as
modularity, isolation, well-defined interfaces, in order to:</p>

<ul>
<li> Simplify maintenance and comprehension</li>
<li> Encourage contributions, scale development work</li>
<li> Enable new applications (remote plugins, integrations) and frontends (UIs)</li>
</ul>

<p>This purpose of this charter is to clarify priorities and to guide
decisions.</p>

<h2>Project Goals</h2>

<ul>
<li> Leverage existing and ongoing Vim development development</li>
<li> Maintain feature parity with Vim and avoid regressions</li>
<li> Continue the Vim tradition of backwards compatibility</li>
<li> Keep the core small and fast</li>
<li> Make the core more extensible</li>
<li> Target all platforms supported by libuv</li>
<li> Optimize "out of the box", for new users but especially regular users</li>
<li> Delegate functionality to plugins, but preserve the utility of the nvim core</li>
<li> Ship Luajit as first-class scripting alternative</li>
</ul>

<h2>Project Non-Goals</h2>

<ul>
<li> Turn Vim into an IDE</li>
<li> Limit applications (such as IDEs) built with Neovim</li>
<li> Deprecate VimL</li>
</ul>

<h2>Guiding Principles</h2>

<ul>
<li> <strong>Do Not Regress From Origin</strong></li>
<li> Decide outcomes by weighing cost and benefit</li>
<li> Use automation to solve problems</li>
<li> Enable new contributors: remove barriers to entry</li>
<li> Prefer usability over tradition if the benefit greatly outweighs the cost</li>
<li> In matters of taste or ambiguity, favor tradition/compatibility</li>
<li> Unblock contributors and plugin authors; allow progress</li>
<li> Give usability a chance</li>
</ul>

</div>
44 changes: 6 additions & 38 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,46 +96,12 @@ pre {
* Logo and navigation at the top of the page
*/

.navbar {
padding: 12px 0;
#navbar-logo {
height: 3em;
}
@media (min-width: 568px) {
.navbar {
padding-top: 30px;
padding-bottom: 30px;
}
.navbar-top-align {
margin-top:1em;
}

.logo {
width: 120px;
position: relative;
top: 4px;
}
@media (min-width: 568px) {
.logo {
width: 180px;
}
}

.site-nav {
display: none;
}
@media (min-width: 568px) {
.site-nav {
display: block;
float: right;
}
.site-nav ul {
list-style: none;
}
.site-nav li {
display: inline-block;
margin-top: 5px;
margin-left: 20px;
font-size: 18px;
font-family: 'Lato', sans-serif;
position: relative;
}
.col-half {
display: table-cell;
width: 50%;
Expand All @@ -145,6 +111,8 @@ pre {
.col-half.second {
padding-left: 6%;
}
.navbar-right .dropdown-menu {
left: 0px;
}

/*
Expand Down
13 changes: 13 additions & 0 deletions images/icons/icon-menu.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions roadmap.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
layout: default
title: Roadmap
---

{% include nav.html active='About' %}

<div class="container">

<h1>Roadmap</h1>

<p>The roadmap is being defined still. For now, check the milestone issues in the tracker:</p>

<ol>
<li> <a href="https://github.com/neovim/neovim/issues?q=is%3Aopen+is%3Aissue+milestone%3A0.1-first-public-release">0.1</a> (first public release)</li>
<li> <a href="https://github.com/neovim/neovim/issues?q=is%3Aopen+is%3Aissue+milestone%3A0.2">0.2</a></li>
<li> <a href="https://github.com/neovim/neovim/issues?q=is%3Aopen+is%3Aissue+milestone%3A0.3">0.3</a></li>
</ol>

</div>