• Stars
    star
    220
  • Rank 180,422 (Top 4 %)
  • Language
    Objective-C
  • Created almost 9 years ago
  • Updated almost 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Exports a simple website using a bunch of conventions and a Sketch document as the structure

Sketch Design Doc 🐔🐶

This plugin exports a simple website using a bunch of conventions and a Sketch document as the structure. We named the plugin "design doc" because initially, we used it to export a design guideline, but we have been using it for many other things.

If you want to see an example, you can build this website using this Sketch file as a base.

How to Install

  1. Download and open sketch-designdoc-master.zip
  2. Open DesignDoc.sketchplugin
  3. Done! 💃

How it works

The plugin scans the document and builds a page following these rules:

Pages 👉 Menu

The order of the pages in the panel is the order of the menu. The plugin generates a index.html page that redirects to the first element of the menu.

  • The plugin ignores the Symbols page.
  • If the name of the page starts with an underscore _, the plugin ignores the page.
  • _Settings is a special case.

Pages to Menu

Artboards 👉 Web Page Structure

The order of the artboards in the panel defines the order of the content on the web page.

  • If the name of the artboard starts with an underscore _, the plugin doesn't generate a title for the section nor an entry on the menu.
  • If the name of the artboard starts with a slash /, the plugin indents one level the content on the menu and generates a lighter header for the content.

Artboards to Structure

Artboard Text

Each artboard can have a text description associated. Create a text layer and name it [name-of-the-artboard].md. Use Markdown to format the output. The plugin will ignore the style applied to the layer.

Artboards Description

Preface

Creating a text layer named _Preface.md in a page, will render as an introduction at web page level. This text layer supports Markdown too.

Preface

Settings

Customize the logo of the output, the color of the menu and the color of the links in the page _Settings if needed. This page is not mandatory.

  • Customize the logo adding an artboard with the name _logo. If the artboard is not present, the output will not have a logo.
  • Customize the color of the menu using a vector layer with the name _primary.
  • Customize the color of the links using a vector layer with the name _secondary

Settings

TODOs and Known Issues

  • The output is not mobile friendly (yet)

More Repositories

1

acts_as_unvlogable

An easy way to include external video services in a rails app.
Ruby
143
star
2

sketch-truncate-textlines

Cut the number of lines of a textbox, adding an ellipsis if needed. It works using words or characters.
JavaScript
72
star
3

mamuso.dev

Why does it hurt so much to hit your funny bone?
TypeScript
38
star
4

jquery.prettyfile

For a nicer input file
JavaScript
26
star
5

figma-orgchart

Create an org chart in Figma from a JSON/YAML
TypeScript
19
star
6

yammer-sketch-tools

Sketch plugins and commands we use at Yammer
JavaScript
14
star
7

figma-designdoc-archive

Exports a simple website using a bunch of conventions and a Figma document as the structure
SCSS
14
star
8

reticulatorjs

Create a grid while you're developing your markup
JavaScript
13
star
9

weekly-update-action

An action for creating a weekly GitHub discussion. It has the option of posting in advance and sending a reply to the post later in the week as a reminder.
TypeScript
9
star
10

jquery.filterprojects

jquery plugin to build a portfolio page
JavaScript
9
star
11

breakfastDashboard

The bus is coming!
JavaScript
7
star
12

discussion-to-markdown-action

An action for transforming a GitHub Discussion into a markdown output.
TypeScript
7
star
13

papercups

Home of http://papercups.mamuso.net
TypeScript
5
star
14

bluelabel-jsdoc

Template for JsDoc 2
JavaScript
5
star
15

party-poopers

A Birdy Wirdy card game
JavaScript
4
star
16

bitbar

JavaScript
4
star
17

close-figma-tab

Close Figma tabs in chrome if you have "Open in Desktop App" active
JavaScript
3
star
18

fluxcapacitor

TypeScript
3
star
19

jekyll-design-projects

A jekyll theme to present design projects
CSS
3
star
20

maquetas-andar-por-casa

nanoc del curso html de andar por casa :)
Ruby
2
star
21

mamuso.net

Yours truly
HTML
2
star
22

iwanna-widget

ActionScript
2
star
23

dummy-test-app

App for testing and connecting purposes
JavaScript
2
star
24

nextjs-simple-darkmode

A simple way to implement light/dark mode in Next.js
JavaScript
2
star
25

cookbook

2
star
26

sketch-designsite

Objective-C
2
star
27

detalles-js

Ruby
1
star
28

photos.mamuso.net

https://photos.mamuso.net
TypeScript
1
star
29

dco-exercise

1
star
30

mamuso

Hey, whatcha doin?
JavaScript
1
star
31

OhMyToeCatalog

Script to build the ohmytoe catalog
Ruby
1
star
32

sketch-cat-ipsum

If you love catipsum.com & sketch as much as I do, then I don't know how could you live without this plugin
1
star
33

straycharacters.mamuso.net

JavaScript
1
star
34

reticulatorjs-site

website for reticulator, with sinatra
JavaScript
1
star
35

assets

Assets I use for different projects
1
star
36

ogtojsonservice

JavaScript
1
star
37

mamuso.dev.content

Content repo for mamuso.dev
1
star
38

publish-action-test

1
star
39

dotfiles

Shell
1
star
40

unvlogable

A simple interface that provides a standardized oembed output for video services.
JavaScript
1
star
41

AndroidDPIPopup

DPI pop up window for daily usage, based on http://coh.io/adpi/
JavaScript
1
star
42

unvlog-api

JavaScript
1
star
43

unvlog-client

JavaScript
1
star
44

alex-turns-three

CSS
1
star
45

demo.mamuso.net

nanoc con el site demo.mamuso.net y su correspondiente deploy
JavaScript
1
star
46

board-populator-action

An action to compose and populate GitHub org boards (memex) with draft issues.
TypeScript
1
star