This is how you get the DocFX view model in JSON form. Now you can create classes to represent it, and deserialise using Newtonsoft.Json
.
Make that the model for your Razor views, and have an MVC action that can select the appropriate JSON file, deserialise it, and pass that to View()
as the model.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title: Home | |
views: | |
- title: Header | |
icon: mdi:car | |
panel: true | |
cards: | |
- type: vertical-stack | |
cards: | |
- type: glance | |
entities: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dockerfile for ffmpeg with pretty much support for everything as per: | |
# https://trac.ffmpeg.org/wiki/CompilationGuide/Centos | |
# includes codecs with weird licensing like MP3 and AAC. | |
# | |
FROM fedora | |
MAINTAINER Ross Timson <[email protected]> | |
# Install build requirements. | |
RUN dnf install -y autoconf automake cmake freetype-devel gcc gcc-c++ git libtool make mercurial nasm pkgconfig zlib-devel |
Reference: http://www.cnx-software.com/2012/07/31/84-mb-minimal-raspbian-armhf-image-for-raspberry-pi/
curl -O https://dl.dropbox.com/u/45842273/2012-07-15-wheezy-raspian-minimal.img.7z
yum install p7zip
7za e 2012-07-15-wheezy-raspian-minimal.img.7z
qemu-system-arm -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1" -hda 2012-07-15-wheezy-raspian-minimal.img -net nic -net user -vnc :0 -net tap,ifname=vnet0,script=no,downscript=no