Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/develop' into feature/typescript
Browse files Browse the repository at this point in the history
# Conflicts:
#	packages/titanium-docgen/generators/typescript_generator.js
  • Loading branch information
drauggres committed Feb 21, 2020
2 parents 1ab5719 + e00f175 commit 36a0cb6
Show file tree
Hide file tree
Showing 62 changed files with 108 additions and 1,145 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [4.2.0](https://github.com/appcelerator/docs-devkit/compare/v4.1.0...v4.2.0) (2020-02-05)


### Features

* **docgen:** accept whitelist of constants references to skip ([#26](https://github.com/appcelerator/docs-devkit/issues/26)) ([3b1c537](https://github.com/appcelerator/docs-devkit/commit/3b1c537))





# [4.1.0](https://github.com/appcelerator/docs-devkit/compare/v4.0.1...v4.1.0) (2019-12-12)


Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"lerna": "3.13.0",
"version": "4.1.0",
"version": "4.2.0",
"npmClient": "yarn",
"useWorkspaces": true,
"command": {
Expand Down
8 changes: 8 additions & 0 deletions packages/docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [4.2.0](https://github.com/appcelerator/docs-devkit/compare/v4.1.0...v4.2.0) (2020-02-05)

**Note:** Version bump only for package docs





# [4.1.0](https://github.com/appcelerator/docs-devkit/compare/v4.0.1...v4.1.0) (2019-12-12)

**Note:** Version bump only for package docs
Expand Down
4 changes: 2 additions & 2 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docs",
"version": "4.1.0",
"version": "4.2.0",
"description": "Docs for the Titanium docs-devkit",
"repository": "https://github.com/appcelerator/docs-devkit.git",
"author": "Axway Appcelerator",
Expand All @@ -16,7 +16,7 @@
"@vuepress/plugin-back-to-top": "1.0.2",
"fs-extra": "^8.1.0",
"vuepress": "^1.0.2",
"vuepress-plugin-apidocs": "^4.1.0",
"vuepress-plugin-apidocs": "^4.2.0",
"vuepress-plugin-versioning": "^4.0.1",
"vuepress-theme-titanium": "^4.0.1",
"vuex": "^3.1.1",
Expand Down
11 changes: 11 additions & 0 deletions packages/titanium-docgen/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [4.2.0](https://github.com/appcelerator/docs-devkit/compare/v4.1.0...v4.2.0) (2020-02-05)


### Features

* **docgen:** accept whitelist of constants references to skip ([#26](https://github.com/appcelerator/docs-devkit/issues/26)) ([3b1c537](https://github.com/appcelerator/docs-devkit/commit/3b1c537))





# [4.1.0](https://github.com/appcelerator/docs-devkit/compare/v4.0.1...v4.1.0) (2019-12-12)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
'use strict';

const exporter = require('../lib/html_generator.js');
const exporter = require('./html_generator.js');

/**
* Returns a JSON object formatted for HTML EJS templates
Expand Down
11 changes: 6 additions & 5 deletions packages/titanium-docgen/lib/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const yaml = require('js-yaml'),
fs = require('fs'),
colors = require('colors'), // eslint-disable-line no-unused-vars
nodeappc = require('node-appc'),
path = require('path'),
MarkdownIt = require('markdown-it'),
ignoreList = [ 'node_modules', '.travis.yml' ],
LOG_INFO = 0,
Expand Down Expand Up @@ -153,19 +154,19 @@ function errorMessage() {

/**
* Recursively find, load and parse YAML files
* @param {Object} path Root path to start search
* @param {Object} rootPath Root path to start search
* @returns {Object} Dictionary containing the parsed data and any YAML errors
*/
exports.parseYAML = function parseYAML(path) {
exports.parseYAML = function parseYAML(rootPath) {
const rv = {
data: {},
errors: []
};
let currentFile = path;
let currentFile = rootPath;
try {
const fsArray = fs.readdirSync(path);
const fsArray = fs.readdirSync(rootPath);
fsArray.forEach(function (fsElement) {
const elem = path + '/' + fsElement,
const elem = path.join(rootPath, fsElement),
stat = fs.statSync(elem);
currentFile = elem;

Expand Down
2 changes: 1 addition & 1 deletion packages/titanium-docgen/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "titanium-docgen",
"version": "4.1.0",
"version": "4.2.0",
"description": "Generates Titanium API documentation in different formats",
"main": "index.js",
"scripts": {
Expand Down
5 changes: 0 additions & 5 deletions packages/titanium-docgen/templates/html/description.html

This file was deleted.

8 changes: 0 additions & 8 deletions packages/titanium-docgen/templates/html/event.html

This file was deleted.

6 changes: 0 additions & 6 deletions packages/titanium-docgen/templates/html/event_list.html

This file was deleted.

This file was deleted.

11 changes: 0 additions & 11 deletions packages/titanium-docgen/templates/html/examples.html

This file was deleted.

Empty file.
59 changes: 0 additions & 59 deletions packages/titanium-docgen/templates/html/header.html

This file was deleted.

64 changes: 0 additions & 64 deletions packages/titanium-docgen/templates/html/index.html

This file was deleted.

83 changes: 0 additions & 83 deletions packages/titanium-docgen/templates/html/member_list.html

This file was deleted.

18 changes: 0 additions & 18 deletions packages/titanium-docgen/templates/html/method.html

This file was deleted.

Loading

0 comments on commit 36a0cb6

Please sign in to comment.