From a5886f67311bbbf7bf6a3c10aaed393cfc85b0db Mon Sep 17 00:00:00 2001 From: xesscorp Date: Sat, 16 May 2020 10:23:05 -0400 Subject: [PATCH] * Bumped release 0.0.30. * Updated documentation. --- HISTORY.rst | 2 +- docs/_plugins/better_image_tag.rb | 42 ++ ...2020-05-16-version-0-0-30-release.markdown | 22 + docs/_site/404/index.html | 66 +-- docs/_site/about/index.html | 64 +-- docs/_site/assets/css/style.css | 4 +- docs/_site/blog/Release_0_0_27.html | 72 +-- docs/_site/blog/Release_0_0_28.html | 72 +-- docs/_site/blog/a-taste-of-hierarchy.html | 76 ++-- docs/_site/blog/an-arduino-with-skidl.html | 74 +-- ...g-a-usb-to-jtag-interface-using-skidl.html | 80 ++-- docs/_site/blog/dont-replicate-automate.html | 74 +-- docs/_site/blog/index.html | 104 ++--- docs/_site/blog/names-not-numbers.html | 82 ++-- docs/_site/blog/others-use-it-too.html | 74 +-- docs/_site/blog/page2/index.html | 84 ++-- docs/_site/blog/reuse-leds.html | 80 ++-- docs/_site/blog/skidl-kicon-2019.html | 72 +-- docs/_site/blog/spice-simulation.html | 72 +-- docs/_site/blog/sweetening-skidl.html | 88 ++-- docs/_site/blog/two-easy-pieces.html | 86 ++-- docs/_site/blog/worst-part-of-skidl.html | 92 ++-- docs/_site/blog/xspice-capability.html | 72 +-- docs/_site/categories/index.html | 94 ++-- docs/_site/feed.xml | 216 ++++----- .../_site/images/sweetening-skidl/pi_ntwk.png | Bin 0 -> 10766 bytes docs/_site/index.html | 423 ++++++++++++------ docs/_site/links.jsonp | 30 +- docs/_site/search.json | 30 +- docs/_site/tags/index.html | 64 +-- docs/api.html | 275 +++++++++--- docs/index.md | 348 +++++++++----- setup.py | 2 +- skidl/pckg_info.py | 2 +- 34 files changed, 1751 insertions(+), 1287 deletions(-) create mode 100644 docs/_plugins/better_image_tag.rb create mode 100644 docs/_posts/2020-05-16-version-0-0-30-release.markdown create mode 100644 docs/_site/images/sweetening-skidl/pi_ntwk.png diff --git a/HISTORY.rst b/HISTORY.rst index 31705bda..bb3cc6f5 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,7 +3,7 @@ History ------- -0.0.30 (2020-XX-XX) +0.0.30 (2020-05-16) ______________________ * Added @package decorator to make subcircuits act like Parts. diff --git a/docs/_plugins/better_image_tag.rb b/docs/_plugins/better_image_tag.rb new file mode 100644 index 00000000..eeb4af8e --- /dev/null +++ b/docs/_plugins/better_image_tag.rb @@ -0,0 +1,42 @@ +# Source is https://gist.github.com/pichfl/1548864 +# A simple plugin for Jekyll that allows you to use {% img url "alt text" %} to add images to your posts. +# It will automatically check those images for width and height. +# +# Requires http://imagesize.rubyforge.org/ + +require 'image_size' +require 'open-uri' + +module Jekyll + + class ImageTag < Liquid::Tag + @img = nil + @alt = "" + + def initialize(tag_name, markup, tokens) + @img = markup.strip + if temp = @img.match(/^(.*)(\s)(\")(.*)(\")$/) + @img = temp[1] + @alt = temp[4] + end + + super + end + + def render(context) + w,h = open(@img, "rb") do |fh| + ImageSize.new(fh.read).get_size + end + + if @img + "\"#{@alt}\"" + + else + + end + + end + end +end + +Liquid::Template.register_tag('img', Jekyll::ImageTag) diff --git a/docs/_posts/2020-05-16-version-0-0-30-release.markdown b/docs/_posts/2020-05-16-version-0-0-30-release.markdown new file mode 100644 index 00000000..20ecf799 --- /dev/null +++ b/docs/_posts/2020-05-16-version-0-0-30-release.markdown @@ -0,0 +1,22 @@ +--- +layout: post +title: Version 0.0.30 Released! +date: 2020-05-16T10:01:10-05:00 +author: + name: Dave Vandenbout + photo: devb-pic.jpg + email: devb@xess.com + description: Relax, I do this stuff for a living. +category: blog +permalink: blog/Release_0_0_30 +--- + +I'm releasing version 0.0.30 of SKiDL today! +It has some new features I'm excited about: + +* A new `@package` decorator to make subcircuits act like `Parts`. +* A new `tee()` function for creating T-junctions in networks. +* Custom ERCs can now be added using the new `erc_assert()` function. +* Substring matching in pin names can now be enabled/disabled. + +I'll have some upcoming blog posts about these in the near future. diff --git a/docs/_site/404/index.html b/docs/_site/404/index.html index 13cf1379..557fa194 100644 --- a/docs/_site/404/index.html +++ b/docs/_site/404/index.html @@ -8,7 +8,7 @@ - + @@ -18,16 +18,16 @@ - + - + - - + + @@ -37,13 +37,13 @@ - + - - - - - + + + + + @@ -51,25 +51,25 @@ - + - + - + - + - + - +
-
@@ -81,17 +81,17 @@
  • - Home + Home
  • - Blog + Blog
  • - API + API
  • @@ -101,11 +101,11 @@
  • - About + About
  • -
  • Feed
  • +
  • Feed
  • @@ -116,7 +116,7 @@

    -

     at SKiDL

    +

     at SKiDL

    Oops...!

    @@ -144,8 +144,8 @@

    Oops...!


    - hacker emblem - + hacker emblem +

    - - - + + + - - - + + +
    -
    @@ -81,17 +81,17 @@
  • - Home + Home
  • - Blog + Blog
  • - API + API
  • @@ -101,11 +101,11 @@
  • - About + About
  • -
  • Feed
  • +
  • Feed
  • @@ -157,8 +157,8 @@

    Contributors


    - hacker emblem - + hacker emblem +

    - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + +
    - +
    @@ -79,17 +79,17 @@
  • - Home + Home
  • - Blog + Blog
  • - API + API
  • @@ -99,11 +99,11 @@
  • - About + About
  • -
  • Feed
  • +
  • Feed
  • @@ -129,7 +129,7 @@

    - + xspice capability

    @@ -138,7 +138,7 @@

    Somebody asked about using XSPICE components in SPICE simulations with SKiDL. That wasn’t possible since PySpice didn’t really support these when I built the interface. So I added XSPICE parts to the SKiDL SPICE interface and released it as SKiDL...

    @@ -159,7 +159,7 @@

    - + Version 0.0.28 Released!

    @@ -168,7 +168,7 @@

    Well, that didn’t last long. I released version 0.0.27 of SKiDL yesterday, but I didn’t like having the zyc utility bundled in there because that pulls in wxpython as a requirement. That’s likely to cause problems for some people when...

    @@ -189,7 +189,7 @@

    - + Version 0.0.27 Released!

    @@ -198,7 +198,7 @@

    It’s been almost eleven months since I released a new version of SKiDL (not counting updates to the Github repo). So here’s a new one: version 0.0.27. You can install it using pip just like all the other releases. Check...

    @@ -219,7 +219,7 @@

    - + The Worst Part of SKiDL

    @@ -228,7 +228,7 @@

    I created SKiDL to replace the manual tedium of drawing schematics with the advantages of modern programming languages: iteration, abstraction, hierarchy, and modularization. But one thing always stood out as a problem: parts. Parts! PARTS!! PARTS!!! PARTS!!!! Here’s a snippet...

    @@ -249,7 +249,7 @@

    - + SKiDL at KiCon 2019

    @@ -258,7 +258,7 @@

    At the recent KiCon 2019, I gave a talk about SKiDL that’s a good introduction to the language and why I created it. It’s about 27 minutes in length if you can stand it. I got a lot of great...

    @@ -279,7 +279,7 @@

    - + Sweetening SKiDL

    @@ -288,7 +288,7 @@

    I’ve added a bit of syntactic sugar to SKiDL over the past few months: Series, Parallel, and Tee Network Constructors Bussed Part Pins Accessing Part Pins as Attributes It doesn’t change what SKiDL does, but does make it easier to...

    @@ -309,7 +309,7 @@

    - + Others Use It, Too!

    @@ -318,7 +318,7 @@

    It helps when other people use SKiDL; then I can coast by just showing what they’ve done. Here are two examples. Blinkenface Blinkenface is a version of “LED glasses” made with a cascaded string of APA102 RGB LEDs controlled through...

    @@ -339,7 +339,7 @@

    - + Reusability Ain't What It Used To Be

    @@ -348,7 +348,7 @@

    Sometimes you need a quick circuit that does one, specific thing. Other times, you want to create a general design that can be re-used in multiple instances. I’ll demonstrate the evolution from a specific to a general SKiDL design using...

    @@ -369,7 +369,7 @@

    - + Spice Simulation

    @@ -381,7 +381,7 @@

    @@ -402,7 +402,7 @@

    - + An Arduino With SKiDL

    @@ -411,7 +411,7 @@

    It’s April 1st. It’s also Arduino Day. Really. That’s not a joke. In honor of such an august occasion, I’m going to show you how to describe an Arduino board using SKiDL. It’s really easy; just takes two steps: Find...

    @@ -423,7 +423,7 @@

    Page 1 of 2 - Older + Older @@ -449,8 +449,8 @@


    - hacker emblem - + hacker emblem +