Skip to content

Commit

Permalink
elementary/mvp -> elementary/website (elementary#1448)
Browse files Browse the repository at this point in the history
  • Loading branch information
btkostner authored Oct 26, 2016
1 parent 12294b8 commit d9ce8ca
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion 410.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</div>
<div class="column alert">
<h3>Whoops! That link has expired.</h3>
<p>If you're trying to download elementary OS, please head back to the home page. If you were looking for something else, feel free to <a href="https://github.com/elementary/mvp/issues/new">file an issue on our GitHub</a>.</p>
<p>If you're trying to download elementary OS, please head back to the home page. If you were looking for something else, feel free to <a href="https://github.com/elementary/website/issues/new">file an issue on our GitHub</a>.</p>
</div>
<div class="row">
<a class="button suggested-action" href="/">Go to Home Page</a>
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The MIT License (MIT)

### Copyright © 2016 elementary & [The Web Team](https://github.com/elementary/mvp/graphs/contributors)
### Copyright © 2016 elementary & [The Web Team](https://github.com/elementary/website/graphs/contributors)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Templating System

* PHP-based
* Pages go in root as .php files
* Include `_templates/sitewide.php`, set any variables, then `include $template['header'];` (see [code-of-conduct](https://github.com/elementary/mvp/blob/master/code-of-conduct.php) for an example) at top of page.
* Include `_templates/sitewide.php`, set any variables, then `include $template['header'];` (see [code-of-conduct](https://github.com/elementary/website/blob/master/code-of-conduct.php) for an example) at top of page.
* `include $template['footer'];` at bottom of page.
* Page variables:
* `$page['title']`
Expand All @@ -49,4 +49,4 @@ Templating System
Contributing
============

See guidelines for [coding](https://github.com/elementary/mvp/blob/master/.github/CONTRIBUTING.md) and [translating](https://github.com/elementary/mvp/blob/master/TRANSLATE.md).
See guidelines for [coding](https://github.com/elementary/website/blob/master/.github/CONTRIBUTING.md) and [translating](https://github.com/elementary/website/blob/master/TRANSLATE.md).
4 changes: 2 additions & 2 deletions TRANSLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Languages are manually updated, so you won't see your work published just after

## Script

The following script will update your local copy of master, push new strings to Transifex, then remove and re-download the translation files. Finally, it will check the translations and push the branch. You should then file a pull request against [that branch](https://github.com/elementary/mvp/compare/master...translations-update), including the check result.
The following script will update your local copy of master, push new strings to Transifex, then remove and re-download the translation files. Finally, it will check the translations and push the branch. You should then file a pull request against [that branch](https://github.com/elementary/website/compare/master...translations-update), including the check result.

```
git checkout master
Expand Down Expand Up @@ -102,4 +102,4 @@ tx push -s -r <page-name>

## Adding a new language to the list on the website

The list of available languages is hard-coded in [`_templates/l10n.php`](https://github.com/elementary/mvp/blob/master/_templates/l10n.php#L2). If a new language is complete, you can add it by appending it to the list. Languages are sorted by index (see [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)) and are localized.
The list of available languages is hard-coded in [`_templates/l10n.php`](https://github.com/elementary/website/blob/master/_templates/l10n.php#L2). If a new language is complete, you can add it by appending it to the list. Languages are sorted by index (see [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)) and are localized.
2 changes: 1 addition & 1 deletion _scripts/pages/docs/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Promise.all([highlight, jQuery]).then(([hljs, $]) => {
$index.prependTo($sidebar)

var $actions = $('<ul class="actions"></ul>')
$('<li><a href="https://github.com/elementary/mvp/blob/master/docs' + window.location.pathname.split('/docs')[1] + '.md" id="edit"><i class="fa fa-pencil"></i> Edit</a></li>').appendTo($actions)
$('<li><a href="https://github.com/elementary/website/blob/master/docs' + window.location.pathname.split('/docs')[1] + '.md" id="edit"><i class="fa fa-pencil"></i> Edit</a></li>').appendTo($actions)
$actions.appendTo($sidebar)

var secondUp = window.location.pathname.split('/')[1]
Expand Down
8 changes: 4 additions & 4 deletions get-involved.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@
<p>elementary provides basic documentation for both users and developers. All of our documentation is written in Markdown and hosted on GitHub, so submitting a change or a new section is a piece of cake.</p>

<div class="actions">
<a class="button flat suggested-action" href="https://github.com/elementary/mvp/blob/master/docs/learning-the-basics.md" target="_blank">Learning The Basics Guide</a>
<a class="button flat" href="https://github.com/elementary/mvp/blob/master/docs/code/getting-started.md" target="_blank">Developer Docs</a>
<a class="button flat suggested-action" href="https://github.com/elementary/website/blob/master/docs/learning-the-basics.md" target="_blank">Learning The Basics Guide</a>
<a class="button flat" href="https://github.com/elementary/website/blob/master/docs/code/getting-started.md" target="_blank">Developer Docs</a>
</div>
</div>
</div>
Expand All @@ -129,8 +129,8 @@
<h1>Web Development</h1>
<p>Our website is built using HTML, CSS, PHP, and JavaScript. We're always looking for people experienced in those areas who would like to contribute and make it even better.</p>
<div class="actions">
<a class="button flat suggested-action" href="https://github.com/elementary/mvp" target="_blank">Fork Our Website on GitHub</a>
<a class="button flat" href="https://github.com/elementary/mvp/issues" target="_blank">Report a Website Issue</a>
<a class="button flat suggested-action" href="https://github.com/elementary/website" target="_blank">Fork Our Website on GitHub</a>
<a class="button flat" href="https://github.com/elementary/website/issues" target="_blank">Report a Website Issue</a>
</div>
</div>
</section>
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<div><span class="icon" icon="apps/48/utilities-terminal"><?php include('images/icons/apps/48/utilities-terminal.svg'); ?></span></div>
<div>
<h3>Task finished</h3>
<p>git clone https://github.com/elementary/mvp</p>
<p>git clone https://github.com/elementary/website</p>
</div>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/elementary/mvp.git"
"url": "git+https://github.com/elementary/website.git"
},
"author": "elementary",
"license": "MIT",
"bugs": {
"url": "https://github.com/elementary/mvp/issues"
"url": "https://github.com/elementary/website/issues"
},
"homepage": "https://github.com/elementary/mvp#readme"
"homepage": "https://github.com/elementary/website#readme"
}

0 comments on commit d9ce8ca

Please sign in to comment.