Install WYSIWYG HTML editor

KompoZer from www.nvu.com/

…and create yourself a website that appeases your creative side

Get a GitHub account

github.com/

Install Git (if it's not already on your computer)

git-scm.com/

Create a GitHub project and clone it locally prior to uploading your website

(help.github.com/categories/github-pages-basics/)

help.github.com/articles/creating-project-pages-manually/

Local git commands after cloning the project + creating an 'orphan' branch

Get a domain for your site

www.mtgsy.net/ OR aws.amazon.com/route53/

Compare prices but Amazon is probably better

Configure your chosen DNS host to point your domain name to the GitHub page

help.github.com/articles/setting-up-a-custom-domain-with-github-pages/

Google Analytics

$ which rdoc

/Users/doug/.rvm/gems/ruby-2.2.2/bin/rdoc

$ rdoc –version

4.2.2

~/generator/template/darkfish/_head.rhtml

~/.rvm/gems/ruby-2.2.2/gems/rdoc-4.2.2/lib/rdoc/generator/template/darkfish$ vi _head.rhtml

<% if @options.g_a then %>
  <% gaFile = File.absolute_path(@options.root + '.google-analytics')  %>
  <% if File.exist?(gaFile) then %>
<%= File.read(gaFile) %>
  <% end %>
<% end %>

options.rb

~/.rvm/gems/ruby-2.2.2/gems/rdoc-4.2.2/lib/rdoc$ vi options.rb

class RDoc::Options
# 1 ---------------------------------------------------------------------------------------------
  ...
  attr_accessor :template_stylesheets
  # 31/8/16 DH: Adding command-line opt to add Google Analytics to output
  attr_accessor :g_a

# 2 ---------------------------------------------------------------------------------------------
  def init_ivars
    ...
    @write_options = false
    # 31/8/16 DH: Adding Google Analytics command line option
    @g_a = false
  end

# 3  --------------------------------------------------------------------------------------------
  def parse argv
    ...
    opts = OptionParser.new do |opt|
      ...
      # 31/8/16 DH: Adding Google Analytics command-line option
      opt.on("-ga",
             "Add Google Analytics to output.") do |value|
        @g_a = true
      end

      opt.separator nil

    end
    ...
  end
end # END: 'class RDoc::Options'