Coder Social home page Coder Social logo

dojo / dojo-website Goto Github PK

View Code? Open in Web Editor NEW
6.0 13.0 24.0 140.98 MB

Dojo 1 - website for Dojo Toolkit 1.x to 2.x transition.

License: Other

HTML 0.69% JavaScript 95.73% CSS 0.30% PHP 0.33% ActionScript 0.07% XSLT 0.16% Shell 0.01% Batchfile 0.01% Pug 0.09% Stylus 0.33% Less 2.23% EJS 0.08%

dojo-website's Introduction

dojo-website

Development

  1. git submodule update --init --recursive
  2. npm install
  3. bower install
  4. grunt develop
  5. Visit http://localhost:1337/

Note: By default, the reference guide and API docs are not generated by the develop task.

Building the Docs

Reference Guide

  • Requirement: Sphinx
  1. sudo easy_install pip
  2. sudo pip install sphinx
  3. grunt guide

API Docs

  1. grunt api

Deployment

Follow the steps for the Development and Docs install and then run grunt deploy

dojo-website's People

Contributors

bendjukastein avatar bitpshr avatar dasa avatar dylans avatar edhager avatar itorrey avatar morrinene avatar msssk avatar novemberborn avatar rishson avatar sitepentorreyrice avatar steveoh avatar yashmit178 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

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

dojo-website's Issues

Rename Dojo 2 migration guide

Both the tutorials and reference guide have content referring to getting ready to migrate to Dojo 2. These should be reworked to explain that this is just to make things modern, as Dojo 2 is quite different than expected at the time those were authored.

API Forwarding not set up correctly

The forwarder for the dojo website isn't correctly configured. Going to http://dojotoolkit.org/api/dijit/ConfirmDialog forwards you to the wrong url: http://dojotoolkit.org/api/?qs=1.10/dijit/ConfirmDialog/ConfirmDialog. One of our workshop attendees was working on http://dojotoolkit.org/reference-guide/1.10/dijit/ConfirmDialog.html and the jsDoc link wasn't working for him.

I took a look at the .htaccess file and the regexs there seem ok: https://github.com/SitePen/dojo-website/blob/master/src/documentation/api/.htaccess

curl --verbose http://dojotoolkit.org/api/dijit/ConfirmDialog
* Hostname was NOT found in DNS cache
*   Trying 69.89.78.154...
* Connected to dojotoolkit.org (69.89.78.154) port 80 (#0)
> GET /api/dijit/ConfirmDialog HTTP/1.1
> User-Agent: curl/7.37.1
> Host: dojotoolkit.org
> Accept: */*
> 
< HTTP/1.1 302 Found
< Date: Mon, 27 Apr 2015 20:08:38 GMT
* Server Apache is not blacklisted
< Server: Apache
< Location: http://dojotoolkit.org/api/?qs=1.10/dijit/ConfirmDialog/ConfirmDialog
< Cache-Control: max-age=2592000
< Expires: Wed, 27 May 2015 20:08:38 GMT
< Content-Length: 253
< Content-Type: text/html; charset=iso-8859-1
< 
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="http://dojotoolkit.org/api/?qs=1.10/dijit/ConfirmDialog/ConfirmDialog">here</a>.</p>
</body></html>

Code typo in Caching middleware example

There is a typo in Learn/Middleware Fundamentals in the
src/middleware/ValueCachingMiddleware.ts

It reads

export const ValueCachingMiddleware = factory(({ middleware: { defer, icache }}) => {
    get(key: string) { 
      // ...
    }
}

but it returns an object and should read

export const ValueCachingMiddleware = factory(({ middleware: { defer, icache }}) => ({
    get(key: string) { 
      // ...
    }
})

(missing brackets or return)

Missing LICENSE

A license needs to be stated and CLA signatures collected for contributions to this repo

Move repository to dojo organization

Since this repository is used as the deployment source for the Dojo Toolkit Web site, it should be part of the Dojo organization instead of the SitePen organization.

Some tutorial demos do not work due to mixed content (Http/Https)

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.