Skip to content

Commit

Permalink
Merge pull request #271 from Pylons/hugo
Browse files Browse the repository at this point in the history
Hugo and webpack
  • Loading branch information
digitalresistor authored Apr 27, 2020
2 parents 8c041cb + ecb94da commit b97a3bb
Show file tree
Hide file tree
Showing 375 changed files with 11,365 additions and 12,631 deletions.
10 changes: 5 additions & 5 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
},
"rules": {
"strict": 0,
"indent": 2,
"quotes": [2, "single"]
"strict": ["error", "global"],
"indent": ["error", 2],
"quotes": ["error", "single"]
}
}
}
11 changes: 7 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: '13.x'
- run: npm install
- run: npm run build
- run: yarn install
- run: yarn lint
- run: yarn build
env:
CI_COMMIT_SHA: "$GITHUB_SHA"
- name: Upload artifacts
uses: actions/upload-artifact@master
with:
Expand Down Expand Up @@ -56,6 +59,6 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: '13.x'
- run: npm install
- run: npm audit
- run: yarn install
- run: yarn audit
continue-on-error: true
15 changes: 7 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
build
env
node_modules
workflow
npm-debug.log
.idea
/node_modules
/static
/resources
/dist
/public
/data/manifest.json
yarn-error.log
.DS_Store
.python-version
package-lock.json
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v13
17 changes: 6 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Pyramid Marketing Website.

At the bare minimum you'll need the following for doing development:

- NodeJS with npm
- NodeJS 13+ with yarn

## Installing

Expand All @@ -20,24 +20,19 @@ Assuming you have all the recommended tools listed above installed:

### 2. Install package dependencies
```
$ npm install
$ yarn install
```

### 3. Run the project

If you are in development mode and need hot reload and assets compiling run:
```
$ npm run dev
$ yarn start
```

This will let you view the local site at http://localhost:8080/
This will let you view the local site at http://localhost:3000/

If you just want to output a build run
If you want to output for production then run:
```
$ npm run build
```

And if you want a new dist optimized for production run
```
$ npm run dist
$ yarn build
```
6 changes: 6 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

11 changes: 11 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
presets: [
[
'@babel/preset-env',
{
corejs: 3,
useBuiltIns: 'usage',
},
],
],
};
9 changes: 9 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
baseURL = "/"

languageCode = "en-us"
title = "Welcome to Pyramid, a Python Web Framework"
googleAnalytics = "UA-21146943-3"

uglyurls = true

disableKinds = ["RSS", "taxonomy", "taxonomyTerm"]
4 changes: 4 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "Welcome to Pyramid, a Python Web Framework"
needsTsNav: true
---
4 changes: 4 additions & 0 deletions content/colors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "Colors"
layout: colors
---
4 changes: 4 additions & 0 deletions content/community-artwork.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "Artwork"
layout: community-artwork
---
4 changes: 4 additions & 0 deletions content/community-events.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "Events"
layout: community-events
---
4 changes: 4 additions & 0 deletions content/community-feeds.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "Feeds"
layout: community-feeds
---
4 changes: 4 additions & 0 deletions content/community-powered-by-pyramid.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "Powered by Pyramid"
layout: community-powered-by-pyramid
---
4 changes: 4 additions & 0 deletions content/community-sponsors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "Sponsors"
layout: community-sponsors
---
4 changes: 4 additions & 0 deletions content/community.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "Enter the Tomb"
layout: community
---
4 changes: 4 additions & 0 deletions content/documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "Documentation"
layout: documentation
---
4 changes: 4 additions & 0 deletions content/extending-pyramid.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "Extending Pyramid"
layout: extending-pyramid
---
16 changes: 16 additions & 0 deletions data/addons/Akhet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
addon: false
category:
- development-environment
demoUrl: ''
description: A Pyramid library and demo application with a Pylons-like feel. Its most
known for its former application scaffold, which helped users transition from Pylons
and those preferring a more Pylons-like API. The scaffold has been retired but the
demo plays a similar role.
docsUrl: http://docs.pylonsproject.org/projects/akhet/en/latest/
maintainers:
- Mike Orr
name: Akhet
projectUrl: ''
pypiUrl: https://pypi.org/project/Akhet
support: community
vcsUrl: https://github.com/Pylons/akhet
14 changes: 14 additions & 0 deletions data/addons/Authomatic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
addon: false
category:
- authentication
demoUrl: https://authomatic-example.appspot.com/
description: Simple yet powerful authorization and authentication client library for
Python web applications.
docsUrl: http://peterhudec.github.io/authomatic/reference/index.html
maintainers:
- peterhudec
name: Authomatic
projectUrl: http://peterhudec.github.io/authomatic/
pypiUrl: https://pypi.org/project/Authomatic
support: community
vcsUrl: https://github.com/peterhudec/authomatic
19 changes: 19 additions & 0 deletions data/addons/Cliquet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
addon: false
category:
- development-environment
demoUrl: ''
description: Cliquet is a toolkit to ease the implementation of HTTP microservices,
such as data-driven REST APIs.
docsUrl: http://cliquet.readthedocs.org/en/latest/
maintainers:
- Mozilla Services
- n1k0
- tarek
- alexis.metaireau
- leplatrem
- Natim
name: Cliquet
projectUrl: ''
pypiUrl: https://pypi.org/project/cliquet
support: community
vcsUrl: https://github.com/mozilla-services/cliquet
14 changes: 14 additions & 0 deletions data/addons/ColanderAlchemy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
addon: false
category:
- forms
demoUrl: ''
description: Auto-generate Colander schemas that are based on SQLAlchemy mapped classes.
docsUrl: http://colanderalchemy.readthedocs.org/en/latest/
maintainers:
- tisdall
- stefanofontanelli
name: ColanderAlchemy
projectUrl: ''
pypiUrl: https://pypi.org/project/ColanderAlchemy
support: community
vcsUrl: https://github.com/stefanofontanelli/ColanderAlchemy
22 changes: 22 additions & 0 deletions data/addons/Cornice.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
addon: false
category:
- development-environment
demoUrl: ''
description: Provides helpers to build and document REST-ish web services with Pyramid,
with decent default behaviors. It takes care of following the HTTP specification
in an automated way where possible.
docsUrl: http://cornice.readthedocs.org/en/latest/
maintainers:
- Mozilla Services
- n1k0
- leplatrem
- natim
- tarek
- alexis.metaireau
- rafrombrc
- rfk
name: Cornice
projectUrl: ''
pypiUrl: https://pypi.org/project/cornice
support: community
vcsUrl: https://github.com/Cornices/cornice
14 changes: 14 additions & 0 deletions data/addons/Khufu Project.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
addon: false
category:
- development-environment
demoUrl: ''
description: Khufu is an application scaffolding for Pyramid that provides an environment
to work with Jinja2 and SQLAlchemy.
docsUrl: http://khufuproject.github.io/
maintainers:
- Rocky Burt
name: Khufu Project
projectUrl: http://khufuproject.github.io/
pypiUrl: ''
support: community
vcsUrl: https://github.com/khufuproject
19 changes: 19 additions & 0 deletions data/addons/Kinto.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
addon: false
category:
- storage
demoUrl: ''
description: Kinto is a lightweight JSON storage service with synchronisation and
sharing abilities.
docsUrl: http://kinto.readthedocs.org/en/latest/
maintainers:
- Mozilla Services
- n1k0
- Natim
- tarek
- alexis.metaireau
- leplatrem
name: Kinto
projectUrl: ''
pypiUrl: https://pypi.org/project/kinto
support: community
vcsUrl: https://github.com/Kinto/kinto
18 changes: 18 additions & 0 deletions data/addons/Kotti.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
addon: false
category:
- development-environment
demoUrl: http://kottidemo.danielnouri.org/
description: Kotti is a high-level, Pythonic web application framework. It includes
an extensible Content Management System called the Kotti CMS, offering all the features
you would expect from a modern CMS.
docsUrl: http://kotti.readthedocs.org/en/latest/
maintainers:
- witsch
- j23d
- disko
- nouri
name: Kotti
projectUrl: http://kotti.pylonsproject.org/
pypiUrl: https://pypi.org/project/Kotti
support: community
vcsUrl: https://github.com/Kotti/Kotti
14 changes: 14 additions & 0 deletions data/addons/Nive CMS.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
addon: false
category:
- development-environment
demoUrl: ''
description: Nive is a new, "out of the box", open source content management system
based on the programming language Python and the Pyramid web framework.
docsUrl: http://cms.nive.co/doc/html/index.html
maintainers:
- adroullier
name: Nive CMS
projectUrl: http://cms.nive.co/
pypiUrl: ''
support: community
vcsUrl: https://github.com/nive/nive_cms
14 changes: 14 additions & 0 deletions data/addons/Ptah.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
addon: false
category:
- development-environment
demoUrl: ''
description: Ptah is a fast, fun, open source, high-level Python web development environment.
docsUrl: http://ptahproject.readthedocs.org/en/latest/
maintainers:
- fafhrd
- runyaga
name: Ptah
projectUrl: ''
pypiUrl: https://pypi.org/project/ptah
support: community
vcsUrl: https://github.com/ptahproject/ptah
14 changes: 14 additions & 0 deletions data/addons/Pyramid Runner.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
addon: false
category:
- scaffolds
demoUrl: ''
description: A minimal Pyramid scaffold that aims to provide a starter template to
build small to large web services.
docsUrl: ''
maintainers:
- Asif Mahmud Shimon
name: Pyramid Runner
projectUrl: https://github.com/asif-mahmud/pyramid_runner
pypiUrl: ''
support: community
vcsUrl: https://github.com/asif-mahmud/pyramid_runner
14 changes: 14 additions & 0 deletions data/addons/Python Social Auth.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
addon: false
category:
- authentication
demoUrl: ''
description: Social authentication/registration mechanism with support for a <a href="https://github.com/omab/python-social-auth#auth-providers">large
number of providers</a>.
docsUrl: http://python-social-auth.readthedocs.org/en/latest/
maintainers:
- omab
name: Python Social Auth
projectUrl: http://psa.matiasaguirre.net/
pypiUrl: https://pypi.org/project/python-social-auth
support: community
vcsUrl: https://github.com/omab/python-social-auth
15 changes: 15 additions & 0 deletions data/addons/Ringo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
addon: false
category:
- development-environment
demoUrl: ''
description: Ringo is a Python based high level web application framework build on
top of Pyramid. The framework can be used to build form based management or administration
software.
docsUrl: http://ringo.readthedocs.org/en/latest/
maintainers:
- ti
name: Ringo
projectUrl: http://www.ringo-framework.org
pypiUrl: https://pypi.org/project/ringo
support: community
vcsUrl: https://github.com/ringo-framework/ringo
Loading

0 comments on commit b97a3bb

Please sign in to comment.