Skip to content

Commit 5cc316f

Browse files
committed
testing docs
1 parent 4641cfd commit 5cc316f

File tree

12 files changed

+341
-0
lines changed

12 files changed

+341
-0
lines changed

docs/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
_site
2+
.sass-cache
3+
.jekyll-cache
4+
.jekyll-metadata
5+
vendor

docs/404.html

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
permalink: /404.html
3+
layout: default
4+
nav_exclude: true
5+
---
6+
7+
<style type="text/css" media="screen">
8+
.container {
9+
margin: 10px auto;
10+
max-width: 600px;
11+
text-align: center;
12+
}
13+
h1 {
14+
margin: 30px 0;
15+
font-size: 4em;
16+
line-height: 1;
17+
letter-spacing: -1px;
18+
}
19+
</style>
20+
21+
<div class="container">
22+
<h1>404</h1>
23+
24+
<p><strong>Page not found :(</strong></p>
25+
<p>The requested page could not be found.</p>
26+
</div>

docs/Gemfile

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
source "https://rubygems.org"
2+
# Hello! This is where you manage which Jekyll version is used to run.
3+
# When you want to use a different version, change it below, save the
4+
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
5+
#
6+
# bundle exec jekyll serve
7+
#
8+
# This will help ensure the proper Jekyll version is running.
9+
# Happy Jekylling!
10+
# gem "jekyll", "~> 4.1.0"
11+
# This is the theme.
12+
gem "just-the-docs"
13+
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
14+
# uncomment the line below. To upgrade, run `bundle update github-pages`.
15+
# gem "github-pages", group: :jekyll_plugins
16+
# If you have any plugins, put them here!
17+
group :jekyll_plugins do
18+
gem "jekyll-feed", "~> 0.12"
19+
end
20+
21+
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
22+
# and associated library.
23+
platforms :mingw, :x64_mingw, :mswin, :jruby do
24+
gem "tzinfo", "~> 1.2"
25+
gem "tzinfo-data"
26+
end
27+
28+
# Performance-booster for watching directories on Windows
29+
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
30+

docs/Gemfile.lock

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.7.0)
5+
public_suffix (>= 2.0.2, < 5.0)
6+
colorator (1.1.0)
7+
concurrent-ruby (1.1.6)
8+
em-websocket (0.5.1)
9+
eventmachine (>= 0.12.9)
10+
http_parser.rb (~> 0.6.0)
11+
eventmachine (1.2.7)
12+
ffi (1.13.1)
13+
forwardable-extended (2.6.0)
14+
http_parser.rb (0.6.0)
15+
i18n (1.8.3)
16+
concurrent-ruby (~> 1.0)
17+
jekyll (4.1.0)
18+
addressable (~> 2.4)
19+
colorator (~> 1.0)
20+
em-websocket (~> 0.5)
21+
i18n (~> 1.0)
22+
jekyll-sass-converter (~> 2.0)
23+
jekyll-watch (~> 2.0)
24+
kramdown (~> 2.1)
25+
kramdown-parser-gfm (~> 1.0)
26+
liquid (~> 4.0)
27+
mercenary (~> 0.4.0)
28+
pathutil (~> 0.9)
29+
rouge (~> 3.0)
30+
safe_yaml (~> 1.0)
31+
terminal-table (~> 1.8)
32+
jekyll-feed (0.13.0)
33+
jekyll (>= 3.7, < 5.0)
34+
jekyll-sass-converter (2.1.0)
35+
sassc (> 2.0.1, < 3.0)
36+
jekyll-seo-tag (2.6.1)
37+
jekyll (>= 3.3, < 5.0)
38+
jekyll-watch (2.2.1)
39+
listen (~> 3.0)
40+
just-the-docs (0.3.1)
41+
jekyll (>= 3.8.5)
42+
jekyll-seo-tag (~> 2.0)
43+
rake (>= 12.3.1, < 13.1.0)
44+
kramdown (2.2.1)
45+
rexml
46+
kramdown-parser-gfm (1.1.0)
47+
kramdown (~> 2.0)
48+
liquid (4.0.3)
49+
listen (3.2.1)
50+
rb-fsevent (~> 0.10, >= 0.10.3)
51+
rb-inotify (~> 0.9, >= 0.9.10)
52+
mercenary (0.4.0)
53+
pathutil (0.16.2)
54+
forwardable-extended (~> 2.6)
55+
public_suffix (4.0.5)
56+
rake (12.3.2)
57+
rb-fsevent (0.10.4)
58+
rb-inotify (0.10.1)
59+
ffi (~> 1.0)
60+
rexml (3.2.4)
61+
rouge (3.20.0)
62+
safe_yaml (1.0.5)
63+
sassc (2.4.0)
64+
ffi (~> 1.9)
65+
terminal-table (1.8.0)
66+
unicode-display_width (~> 1.1, >= 1.1.1)
67+
unicode-display_width (1.7.0)
68+
69+
PLATFORMS
70+
ruby
71+
72+
DEPENDENCIES
73+
jekyll-feed (~> 0.12)
74+
just-the-docs
75+
tzinfo (~> 1.2)
76+
tzinfo-data
77+
wdm (~> 0.1.1)
78+
79+
BUNDLED WITH
80+
2.1.4

docs/_config.yml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# Welcome to Jekyll!
2+
#
3+
# This config file is meant for settings that affect your whole blog, values
4+
# which you are expected to set up once and rarely edit after that. If you find
5+
# yourself editing this file very often, consider using Jekyll's data files
6+
# feature for the data you need to update frequently.
7+
#
8+
# For technical reasons, this file is *NOT* reloaded automatically when you use
9+
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
10+
#
11+
# If you need help with YAML syntax, here are some quick references for you:
12+
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
13+
# https://learnxinyminutes.com/docs/yaml/
14+
#
15+
# Site settings
16+
# These are used to personalize your new site. If you look in the HTML files,
17+
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
18+
# You can create any custom variable you would like, and they will be accessible
19+
# in the templates via {{ site.myvariable }}.
20+
21+
title: InterSystems ObjectScript for VS Code
22+
23+
description: >- # this means to ignore newlines until "baseurl:"
24+
InterSystems ObjectScript language support for Visual Studio Code.
25+
baseurl: "" # the subpath of your site, e.g. /blog
26+
url: "" # the base hostname & protocol for your site, e.g. http://example.com
27+
twitter_username: ""
28+
github_username: ""
29+
30+
# Build settings
31+
theme: "just-the-docs"
32+
# plugins:
33+
# - jekyll-feed
34+
35+
logo: "/assets/images/isc_logo_eye.png"
36+
37+
color_scheme: isc
38+
39+
search_enabled: true
40+
search:
41+
heading_level: 2
42+
previews: 3
43+
44+
aux_links:
45+
"GitHub Repo":
46+
= "https://github.com/intersystems-community/vscode-objectscript"
47+
48+
footer_content: "Copyright &copy; 2020 InterSystems Corp. Distributed by an <a href=\"https://github.com/intersystems-community/vscode-objectscript/tree/master/LICENSE.txt\">MIT license.</a>"
49+
50+
ga_tracking: GTM-PKG7GB
51+
52+
# Exclude from processing.
53+
# The following items will not be processed, by default.
54+
# Any item listed under the `exclude:` key here will be automatically added to
55+
# the internal "default list".
56+
#
57+
# Excluded items can be processed by explicitly listing the directories or
58+
# their entries' file path in the `include:` list.
59+
#
60+
# exclude:
61+
# - .sass-cache/
62+
# - .jekyll-cache/
63+
# - gemfiles/
64+
# - Gemfile
65+
# - Gemfile.lock
66+
# - node_modules/
67+
# - vendor/bundle/
68+
# - vendor/cache/
69+
# - vendor/gems/
70+
# - vendor/ruby/

docs/_sass/color_schemes/isc.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
$link-color: #333695;

docs/about.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
layout: default
3+
title: About
4+
permalink: /about/
5+
---
6+
7+
This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](https://jekyllrb.com/)
8+
9+
You can find the source code for Minima at GitHub:
10+
[jekyll][jekyll-organization] /
11+
[minima](https://github.com/jekyll/minima)
12+
13+
You can find the source code for Jekyll at GitHub:
14+
[jekyll][jekyll-organization] /
15+
[jekyll](https://github.com/jekyll/jekyll)
16+
17+
18+
[jekyll-organization]: https://github.com/jekyll

docs/assets/images/isc_logo_eye.png

2.73 KB
Loading

docs/assets/js/zzzz-search-data.json

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
permalink: /assets/js/search-data.json
3+
---
4+
{
5+
{%- assign i = 0 -%}
6+
{% for page in site.html_pages %}
7+
{%- if page.title and page.search_exclude != true -%}
8+
{%- assign page_content = page.content -%}
9+
{%- assign heading_level = site.search.heading_level | default: 2 -%}
10+
{%- for j in (2..heading_level) -%}
11+
{%- assign tag = '<h' | append: j -%}
12+
{%- assign closing_tag = '</h' | append: j -%}
13+
{%- assign page_content = page_content | replace: tag, '<h1' | replace: closing_tag, '</h1' -%}
14+
{%- endfor -%}
15+
{%- assign parts = page_content | split: '<h1' -%}
16+
{%- assign title_found = false -%}
17+
{% for part in parts offset: 1 %}
18+
{%- assign titleAndContent = part | split: '</h1>' -%}
19+
{%- assign title = titleAndContent[0] | replace_first: '>', '<h1>' | split: '<h1>' -%}
20+
{%- assign title = title[1] | strip_html -%}
21+
{%- assign content = titleAndContent[1] -%}
22+
{%- assign url = page.url -%}
23+
{%- if title == page.title and parts[0] == '' -%}
24+
{%- assign title_found = true -%}
25+
{%- else -%}
26+
{%- assign id = titleAndContent[0] -%}
27+
{%- assign id = id | split: 'id="' -%}
28+
{%- if id.size == 2 -%}
29+
{%- assign id = id[1] -%}
30+
{%- assign id = id | split: '"' -%}
31+
{%- assign id = id[0] -%}
32+
{%- capture url -%}{{ url | append: '#' | append: id }}{%- endcapture -%}
33+
{%- endif -%}
34+
{%- endif -%}
35+
{%- unless i == 0 -%},{%- endunless -%}
36+
"{{ i }}": {
37+
"doc": {{ page.title | jsonify }},
38+
"title": {{ title | jsonify }},
39+
"content": {{ content | replace: '</h', ' . </h' | replace: '<hr', ' . <hr' | replace: '</p', ' . </p' | replace: '<ul', ' . <ul' | replace: '</ul', ' . </ul' | replace: '<ol', ' . <ol' | replace: '</ol', ' . </ol' | replace: '</tr', ' . </tr' | replace: '<li', ' | <li' | replace: '</li', ' | </li' | replace: '</td', ' | </td' | replace: '<td', ' | <td' | replace: '</th', ' | </th' | replace: '<th', ' | <th' | strip_html | remove: 'Table of contents' | normalize_whitespace | replace: '. . .', '.' | replace: '. .', '.' | replace: '| |', '|' | append: ' ' | jsonify }},
40+
"url": "{{ url | absolute_url }}",
41+
"relUrl": "{{ url }}"
42+
}
43+
{%- assign i = i | plus: 1 -%}
44+
{%- endfor -%}
45+
{%- unless title_found -%}
46+
{%- unless i == 0 -%},{%- endunless -%}
47+
"{{ i }}": {
48+
"doc": {{ page.title | jsonify }},
49+
"title": {{ page.title | jsonify }},
50+
"content": {{ parts[0] | replace: '</h', ' . </h' | replace: '<hr', ' . <hr' | replace: '</p', ' . </p' | replace: '<ul', ' . <ul' | replace: '</ul', ' . </ul' | replace: '<ol', ' . <ol' | replace: '</ol', ' . </ol' | replace: '</tr', ' . </tr' | replace: '<li', ' | <li' | replace: '</li', ' | </li' | replace: '</td', ' | </td' | replace: '<td', ' | <td' | replace: '</th', ' | </th' | replace: '<th', ' | <th' | strip_html | remove: 'Table of contents' | normalize_whitespace | replace: '. . .', '.' | replace: '. .', '.' | replace: '| |', '|' | append: ' ' | jsonify }},
51+
"url": "{{ page.url | absolute_url }}",
52+
"relUrl": "{{ page.url }}"
53+
}
54+
{%- assign i = i | plus: 1 -%}
55+
{%- endunless -%}
56+
{%- endif -%}
57+
{% endfor %}
58+
}

docs/clientsource.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
layout: default
3+
title: Client-Side source control
4+
permalink: /clientsource/
5+
---
6+
7+
# Client-Side source control workflow
8+
9+
## Prerequisites
10+
11+
- The source control provider of choice is available on the client system, preferably installed as an extension into visual studio code.
12+
- The sources exist on the client file system and are in UDL format.
13+
- No further assumptions about the nature of the source control system are assumed. It is the user’s responsibility to manage their sources. Automatic check-out, check-in or other source control functions will not be performed by our extension.
14+
Workflow
15+
- Reference story “install-full”
16+
- Reference story “workspace”
17+
- Reference story “configure-basic”
18+
- Populate the VS Code workspace with code assets in UDL format. If the source control system (SCS) requires checkout (not all do), it’s the user’s responsibility to perform that action. If this is the case, then the UI should not allow editing until the file is checked out.
19+
- User chooses ObjectScript: Explorer pane to browse assets: story objectscript-explorer
20+
- From the ObjectScript:Explorer pane, assets may be transferred from the server to the client workspace by right-clicking on an asset (for a single asset) or a folder (for all assets in that folder) and choosing “export”. The assets are persisted on the local client in UDL format at the location specified in the configuration setting: objectscript.export.folder.
21+
- Edit files that exist in your open VS Code workspace. These are “client files”.
22+
- Client files have a file system path relative to the workspace displayed in the breadcrumb header
23+
- When saved, VS Code attempts to import the code from the client into the target namespace and compile on the server.
24+
- If compilation fails, the user is presented with an error message.
25+
- If compilation succeeds, the server will canonicalize the source code, incorporate any server generated changes and will write them back to the file in the workspace.
26+
- User submits modified files to their client-side source control system.

docs/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
layout: home
3+
---
4+
5+
# InterSystems ObjectScript for VS Code
6+
7+
Here is some body text.

docs/serversource.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
layout: default
3+
title: Server-side source control
4+
permalink: /serversource/
5+
---
6+
7+
# Server-side source control workflow
8+
9+
## Prerequisites
10+
11+
- The source control provider of choice is available on the IRIS or Caché server.
12+
- No ObjectScript code is on the user’s local system.
13+
Workflow
14+
- VS Code is opened at a location of the user’s choice.
15+
- User configures a VS Code workspace: story configure-server.
16+
- User now sees server-side assets in their Explorer pane as if they were local files (by virtue of the isfs service).
17+
- The assets shall be decorated with symbols representing their status in source control, e.g. checked out, modified, etc.
18+
- If user attempts to edit an asset, the extension makes a request to the server, initiating a source control management flow which is unique to each product.
19+
- Once the server has granted editing permission, when the user saves their changes, the asset is compiled on the server. Compilation may reformat the asset according to type (classes are canonicalized, persistent classes may have storage definitions created, server-side hooks may add source). The changes are returned to the client for in-memory representation to the user.
20+
- It is the user’s responsibility to initiate the request to submit modified files to the server-side source control system.

0 commit comments

Comments
 (0)