Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
99 changed files
with
551 additions
and
711 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
# ------------------------------------------------------------------------------ | ||
# This module makes the `ivy` package directly executable. To run an `ivy` | ||
# This module makes the `ark` package directly executable. To run an `ark` | ||
# package located on Python's import search path use: | ||
# | ||
# $ python -m ivy | ||
# $ python -m ark | ||
# | ||
# To run an arbitrary `ivy` package use: | ||
# To run an arbitrary `ark` package use: | ||
# | ||
# $ python /path/to/ivy/package | ||
# $ python /path/to/ark/package | ||
# ------------------------------------------------------------------------------ | ||
|
||
import os | ||
import sys | ||
|
||
# We need to manually add the package's parent directory to the module search | ||
# path before we can `import ivy`. | ||
# We need to manually add the package's parent directory to the module search | ||
# path before we can `import ark`. | ||
sys.path.insert(0, os.path.dirname(os.path.dirname(__file__))) | ||
import ivy | ||
import ark | ||
sys.path.pop(0) | ||
|
||
ivy.main() | ||
ark.main() |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Ark Debug Theme | ||
|
||
[1]: https://github.com/dmulholl/ark | ||
|
||
This [Ark][1] theme is designed as a debugging tool, useful when building themes or plugins. | ||
It displays all the page data available for use in template files. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
ivy/bundle/lib/graphite/readme.md → ark/bundle/lib/graphite/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,4 @@ | |
title = "Site Title" | ||
|
||
# Site tagline. | ||
tagline = "Just another Ivy site." | ||
tagline = "Just another Ark site." |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
|
||
|
||
helptext = """ | ||
Usage: ivy clear | ||
Usage: ark clear | ||
Clear the output directory. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,18 @@ | ||
## | ||
## Add support for Ibis template files with a `.ibis` extension. | ||
## | ||
# Add support for Ibis template files with a `.ibis` extension. | ||
|
||
import ivy | ||
import ark | ||
|
||
try: | ||
import ibis | ||
except ImportError: | ||
ibis = None | ||
|
||
if ibis: | ||
@ivy.events.register(ivy.events.Event.INIT) | ||
@ark.events.register(ark.events.Event.INIT) | ||
def initalize_template_loader(): | ||
ibis.loader = ibis.loaders.FileLoader(ivy.site.theme('templates')) | ||
ibis.loader = ibis.loaders.FileLoader(ark.site.theme('templates')) | ||
|
||
@ivy.templates.register('ibis') | ||
@ark.templates.register('ibis') | ||
def render_page(page_data, template_filename): | ||
template = ibis.loader(template_filename) | ||
return template.render(page_data) |
Oops, something went wrong.