Coder Social home page Coder Social logo

documentation's Introduction

ignored: true

Welcome to DocPad's Documentation Repository

It's pulled into the Bevry and DocPad websites and rendered by DocPad into beautiful documentation. Feel free to submit pull requests and post issues for it - one of our moderators will get to your changes as quickly as possible :)

Note on Links

Links inside the documentation will look like /docpad/config which within GitHub will go to the incorrect URL. This is because these links are short links that are expanded by DocPad during generation process. You can trial this by cloning out the DocPad Website yourself :)

Contributing

The Documentation Guidelines can be viewed on the Bevry Website

Maintainers

License

Licensed under the incredibly permissive Creative Commons Attribution License
Copyright © 2012+ Bevry Pty Ltd
Copyright © 2011 Benjamin Lupton

documentation's People

Contributors

0cjs avatar aaronpowell avatar alexwoehr avatar andyj avatar balupton avatar benjamind avatar brockfanning avatar delapouite avatar dimitarkolev avatar djebbz avatar fboulay avatar fizzvr avatar greduan avatar kennyki avatar mikeumus avatar ndastur avatar nfriedly avatar obazoud avatar pflannery avatar piotrczapla avatar robkorv avatar robloach avatar sergestinckwich avatar simonh1000 avatar stevemcarthur avatar timaschew avatar ukoloff avatar v1rtual avatar vsopvsop avatar zearin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

documentation's Issues

Question about pull requests

Should it be "Each pull request should only alter one paragraph" or "Alter only one paragraph in each commit."? I tried doing a pull request per change, but it seems github merges all the changes into one pull request regardless.

HTML fragment references do not work

I am checking the links in the documentation and none of the fragment references are working.

  • Browser: Chrome 41
  • OS: Linux / Fedora 20

Sometimes the site scrolls down / up rapidly when you click a fragment, so it is fairly obvious that something is broken.

Once I fix this, I will come back later and recheck the fragment references again to ensure that fragments are correct.

Azure Deployment Information is dated

Currently on Docpad's Deploy Information page (https://docpad.org/docs/deploy), the provided Azure deployment information is out of date and not functional.

The issue stems from the installation script, which when running npm install fails due to the Node version defined within the package.json not being honored (it defaults to 0.6.x, which then has semver issues when installing Docpad)

Broken link

The link to the DocPad logo (which the user is supposed to download from d.pr while walking through the Beginner guide) is broken.

Extract parts of documentation from code comments

Currently, if there’s a change in the code, the documentation must be separately maintained.

For parts of the documentation (like the Beginner Guide), existing separately from the code is perfectly appropriate. But for other parts of the documentation—especially everything listed under “CORE”—I think it would be much better to find a way to maintain the documentation as part of the code, and maintain it there.

There are already lots of tools for doing this. I haven’t looked into it very deeply, but the Literate CoffeeScript functionality is particularly attractive, because it’s built into CoffeeScript itself, and uses Markdown. Another alternative would be to use the ### block-comment functionality of CoffeeScript in combination with another documentation-extracting tool would do the trick.

Thoughts on this? @bevry? @RobLoach? @balupton? @greduan?

'layout' directive is omitted in docs

Hi there,

I wonder why probably the most used meta directive 'layout' isn't described in metas docs?

And 'content' template data variable isn't described in template data docs.

Their existence & usage are obvious for experienced developers, but for Docpad novices their mentioning in docs would be useful.

better explanation for querying collections

Low priority: two initial slashes breaks the server

low priority

While checking links I noticed that two initial slashes breaks the static server. It happened to me on the docpad.org site, but I have not yet been able to reproduce on my own websites (e.g., rttpublications.org//)

I am not sure what the expected behavior would be, but it seems to me like someone should look at how fault tolerant the static server is.

Broken link

On https://docpad.org/docs/skeletons the first link in the documentation "Add it to the listing here." leads to a 404 page on github https://github.com/docpad/extas/edit/docpad-6.x/exchange.json

Add feature comparison table

It is is ridiculous that people still don't know how to compare us to other static site generators, or have given up on static site generators because all the crappy ones they've found don't have the features the need.

This is a huge failing on our part to market DocPad correctly.

Considering the rise of static site generators - http://staticsitegenerators.net - we need to do better at distinguishing ourselves. The intro page does well in this when comparing us to traditional CMS, but not when comparing us to other static site generators.

We should do up a feature comparison table. Rows should be features. Columns should be: Traditional CMS (Drupal, Wordpress), Traditional SSG (Jekyll), DocPad.

Something like this, with tooltips explaining the features and differences:

Feature Usual CMS (Drupal, Wordpress) Usual SSG (Jekyll) DocPad
requires cms developers web developers web developers
proficient in months days days
plugin and extension system yes no yes
asset pipeline no implicit & bundled explicit & extendable
markup languages (markdown, rst, etc) no one bundled yes via plugins
pre-processors (sass, less, etc) no no yes via plugins
template engines (eco, jade, etc) no one bundled yes via plugins
database querying yes no yes via query-engine
layouts yes yes yes
static website output no yes yes
re-render each request yes no possible (off by default)
extend the webserver yes no yes
live reload no no yes via plugin
partials no no yes via plugin
database required yes no no
import pages from file system no yes yes
import pages from external database (mongodb, mysql, etc) yes no yes via plugins
import pages from external services (tumblr, dropbox, github, etc) no yes yes via plugins
import data from external services (atom, xml, json, etc) no no yes via plugin
WYSIWYG editors bundled no yes via plugins

Adding video tutorial links

I'm starting to put out these tutorials for DocPad, right now I've only got one.

Just for the future though, where would I go about adding these videos? Where would you prefer I add them @balupton?

Also where should I put a video request thingy? So that people can start requesting videos. Where do you prefer for that to be?

I'm planning on making a very extensive and complete video tutorial series so any suggestions that you have for videos are welcome. I plan on making the videos in a quality and amount that they themselves count as a documentation. :) Also any feedback on how to make the videos better is also welcome.

You can find all the videos I've done 'till now here: https://www.youtube.com/user/eduantech/videos

README: PULL REQUEST CRITERIA

Read the criteria here.

Todo:

  • Rewrite this to be a lot more friendly, it's unnecessarily and unintentionally cruel right now
  • Talk a lot more about how much we appreciate documentation changes, those who do them, as well as the problems we have faced with them, and how those problems are Bevry's fault for not having clear criteria in the first place, we are sorry
  • Get more community support on this.

docpad upgrade doesn't work

I'm running Windows 7 64-bit and npm 2.5.1. When I do docpad upgrade it seems to work but then when I do docpad run it tells me a new version is available.

pt_BR translation

Can I translate the documentation to pt_BR language? I like to see it on my native language.

Use `=` instead of `#{}` for Jade syntax

Here for example: http://docpad.org/docs/faq#what-is-a-templating-engine

Jade: #{Math.random()}

That is used primary for string interpolation.
For code you should use = or != for unbuffered code

see here: http://jade-lang.com/reference/#code

The Jade: #{Math.random()} example is confusing because:
when using #{} without having a tag on the left side - which is the use case in the example - then the result is absolute unexpected, see this gist: https://gist.github.com/timaschew/8355551

It's only expected when it is used as a content, for example:
div #{Math.random()}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.