Skip to content

Commit 8284cda

Browse files
committed
uploads to whats new
1 parent 6631aad commit 8284cda

File tree

8 files changed

+44
-71
lines changed

8 files changed

+44
-71
lines changed

_docs/introduction_to_rest_apis/whats_new.md

Lines changed: 6 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -16,70 +16,19 @@ If you're looking to see what's new in the API doc site/course, you can browse n
1616

1717
The following are the most recent updates to the API documentation course.
1818

19-
## October 2022
20-
21-
* Updated the Stoplight tutorial: [Getting started tutorial: Using Stoplight Studio to create an OpenAPI specification document](pubapis_openapis_quickstart_stoplight.html). With many UI and other changes, this tutorial needed a lot of updates. It should now be aligned with the latest Stoplight UI and functionality.
22-
23-
## May 2022
24-
25-
* [Blobr: An API portal that arranges your API's use cases as individual products](pubapis_blobr.html). With Blobr, you can create an API store to launch and grow an API business with different monetization models.
26-
27-
## January 2022
28-
29-
* Revised the content in the [Metrics and Measurements](docapis_metrics_and_measurement.html) section as follows:
30-
* Consolidated the first-level checkliist and second-level checklist into a [single checklist](docapis_quality_checklist.html).
31-
* Removed the approach for quantifying each criteria into a score and weighting that score with the criteria's importance. This approach was something I experimented with but ultimately found that it didn't work in practice.
32-
* Added a [lightweight version of the checklist](docapis_quality_checklist.html#short_version) that includes only two criteria from each category.
33-
34-
## December 2021
35-
* [PDF and eBook formats](docapis_formats.html). Created PDF, Kindle, and EPUB versions of the course that you can download.
36-
* [Broadcasting your meeting notes to influence a wider audience](docapis_meeting_notes.html). Explains how to broadcast your meeting notes as a tool for influencing other groups.
37-
38-
## November 2021
39-
40-
* [The writing process](writing_process.html). A new section that covers the process for researching, drafting, writing, editing, and publishing documentation. Includes these topics:
41-
* [Overview of the writing process](docapis_writing_process_overview.html)
42-
* [1. Planning](docapis_planning.html)
43-
* [2. Information gathering](docapis_information_gathering.html)
44-
* [3. Writing](docapis_writing.html)
45-
* [4. Reviewing](docapis_reviewing.html)
46-
* [5. Publishing](docapis_publishing.html)
4719

48-
## October 2021
20+
## June 2023
4921

50-
[Using Oxygen XML with docs-as-code workflows](pubapis_oxygenxml.html). Added a new article in the publishing tools section using Oxygen XML.
51-
* [Other resources section in course overview](index.html#other-resources). Updated the Course overview with a list of additional resources (books, courses, etc.).
52-
53-
## August 2021
54-
55-
* [Ensuring documentation coverage with each software release](docapis_release_process.html). Covers best practices for ensuring that each new feature in a release has adequate documentation coverage.
56-
57-
58-
## Auto-generated list of updated pages
22+
* Converted the PDF download into separate PDFs of individual chapters rather than a full-length PDF (which was more than 900 pages long). Downloads to the individual chapters are available with each section overview and in the [Download PDFs](docapis_formats.html) page.
23+
* Removed the Kindle and ePUB download options, as they weren't popular and the process created more complexity than it was worth.
5924

6025
{% include random_ad4.html %}
6126

62-
This list is auto-generated based on the last-modified timestamp on pages, scoped to the last 60 days. How does the script work? Every page has a "Last updated" line below the title. This script looks for any pages with a timestamp that appears within the last 60 days.
63-
64-
{% assign timeframe = 5184000 %}
65-
{% assign count = 0 %}
66-
67-
{% for post in site.docs %}
68-
{% assign post_in_seconds = post.last-modified | date: "%s" | plus: 0 %}
69-
{% assign recent_posts = "now" | date: "%s" | minus: timeframe %}
70-
71-
{% if post_in_seconds > recent_posts %}
72-
{% assign count = count | plus:1 %}
73-
74-
* {{post.last-modified | date: "%b %d, %Y" }}: <a href="{{ post.permalink | remove: "/" }}">{{ post.title }}</a>
75-
{% if count == 15 %}{% break %}{% endif %}
76-
{% endif %}
77-
{% endfor %}
27+
## October 2022
7828

79-
{% comment %}
80-
details about the script logic above: https://stackoverflow.com/questions/46672231/in-jekyll-how-to-show-posts-from-last-week
81-
{% endcomment %}
29+
* Updated the Stoplight tutorial: [Getting started tutorial: Using Stoplight Studio to create an OpenAPI specification document](pubapis_openapis_quickstart_stoplight.html). With many UI and other changes, this tutorial needed a lot of updates. It should now be aligned with the latest Stoplight UI and functionality.
8230

31+
{% include random_ad1.html %}
8332

8433
## Seeing what content has been updated
8534

_docs/metrics_and_measurement/docapis_metrics_assessing_information_quality.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ path1: docapis_metrics_and_measurement.html
99
last-modified: 2022-02-07
1010
---
1111

12-
In the previous topic, [Measuring documentation quality through user feedback]( docapis_measuring_impact.html), I explained the challenges of getting feedback from user surveys as a way to measure documentation quality. In this section, I'll survey the landscape on criteria and rubrics for assessing documentation quality.
12+
In the previous topic, [Measuring documentation quality through user feedback](docapis_measuring_impact.html), I explained the challenges of getting feedback from user surveys as a way to measure documentation quality. In this section, I'll survey the landscape on criteria and rubrics for assessing documentation quality.
1313

1414
* TOC
1515
{:toc}

_docs/metrics_and_measurement/docapis_quality_checklist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ redirect_from:
1414

1515
*This section continues from the previous page, [Different approaches for assessing information quality](docapis_metrics_assessing_information_quality.html).*
1616

17-
As indicated earlier, my goal is to create a practical guide for measuring quality. Instead of looking at docs against a list of general, abstract criteria, I recommend another approach: assessing docs against a list of characteristics that, if fulfilled, should lead to a hiqh-quality user experience automatically. Each of the characteristics must be specific, actionable, and unambiguous in how it would be implemented in your docs. In this section, I'll present a comprehensive quality checklist for API docs and developer portals.
17+
As indicated earlier, my goal is to create a practical guide for measuring quality. Instead of looking at docs against a list of general, abstract criteria, I recommend another approach: assessing docs against a list of characteristics that, if fulfilled, should lead to a high-quality user experience automatically. Each of the characteristics must be specific, actionable, and unambiguous in how it would be implemented in your docs. In this section, I'll present a comprehensive quality checklist for API docs and developer portals.
1818

1919
* TOC
2020
{:toc}

_docs/openapi_spec_and_generated_ref_docs/pubapis_openapi_intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Learning the OpenAPI spec and constructing the YAML or JSON code by hand the fir
9090

9191
Before we dive into ways to manually create the OpenAPI specification document, it's worth noting some other approaches to the task, beyond choosing whether to use a visual editor or manually write the code. You can also choose to auto-generate the OpenAPI spec from annotations in your programming code. This developer-centric approach may make sense if you have a large number of APIs or if it's not practical for technical writers to create this documentation. In my [2020 Developer Documentation Trends survey](docapis_trends.html), approaches for auto-generating the spec versus manually generating it were split:
9292

93-
<figure><a target="_blank" class="noExtIcon" href="https://idratherbewriting.com/learnapidoc/docapis_trends.html"><img class="docimage medium border" src="{{site.media}}/trends-generating-openapi.png" alt="Percentage of auto-generation versus manual creation"></a><figcaption>Percentage of auto-generation versus manual creation</figcaption></figure>
93+
<figure><a target="_blank" class="noExtIcon" href="docapis_trends.html"><img class="docimage medium border" src="{{site.media}}/trends-generating-openapi.png" alt="Percentage of auto-generation versus manual creation"></a><figcaption>Percentage of auto-generation versus manual creation</figcaption></figure>
9494

9595
If you want to go the code-generation route, Swagger offers a variety of libraries that you can add to your programming code to generate the specification document. These Swagger libraries then parse the annotations that developers add and generate the OpenAPI specification document. These libraries are considered part of the ["Swagger Codegen"](https://swagger.io/swagger-codegen/) project. The annotation methods vary based on the programming language. For example, here's a [tutorial on annotating code with Swagger for Scalatra](http://www.infoq.com/articles/swagger-scalatra).
9696

_sass/custom.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,11 @@ a[data="github"]:after {
106106
text-decoration: none;
107107
padding-left: 5px;
108108
}
109-
109+
/*
110110
a[href*="idratherbewriting.com"]:after {
111111
content: "" !important;
112112
}
113+
*/
113114

114115
a[href].noCrossRef::after, a[href].noExtIcon::after, pre a::after, pre.highlight a::after, pre.highlight code a::after, pre code a.vglnk::after,
115116
a.no_icon:after

assets/css/pdf/font-awesome.min.css

Lines changed: 0 additions & 4 deletions
This file was deleted.

assets/css/pdf/printstyles.css

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,21 @@ th {color: white}
4747
margin-left:40px;
4848
}
4949

50-
/* cross-references to pages */
50+
/* uncomment this style if you want page number cross refs to appear in parentheses
51+
after internal links. i commented this out because some internal links appear in
52+
the chapter outputs, others don't.
53+
/*
54+
/* cross-references to pages
5155
a[href]::after {
5256
content: " (p. " target-counter(attr(href), page) ")"
5357
}
58+
*/
59+
60+
/*
61+
a[href]::after {
62+
content: ""
63+
}
64+
*/
5465

5566
/* uncomment this style if you want to include the href target in
5667
parentheses after each link. I think this style significantly interferes with
@@ -71,19 +82,30 @@ a::after{
7182
}
7283
*/
7384

85+
a[href^="http://"]:not([href*="idratherbewriting.com/learnapidoc"]),
86+
a[href^="https://"]:not([href*="idratherbewriting.com/learnapidoc"])::after {
87+
content: "";
88+
display: inline-block;
89+
width: 14px; /* Your icon width */
90+
height: 12px; /* Your icon height */
91+
margin-left: 1px; /* Space between the link and the icon */
92+
background: url('/Users/tomjoht/projects/learnapidoc/images/externalIcon.svg') no-repeat center center; /* URL of your icon */
93+
background-size: contain;
94+
}
7495

7596

76-
a[href] {
77-
color: #337CD6 !important;
78-
text-decoration: none;
97+
p > a[href] {
98+
color: black !important;
99+
text-decoration: underline;
100+
text-decoration-color: lightgray;
79101
}
80102

81103
/* this style makes it so that relative URLs are expected to appear in the PDF output and so
82104
Prince will retain the cross reference in parentheses afterwards, but for absolute URLs, there won't
83105
be a cross reference in the parentheses afterwards, and likewise there won't appear any URL in
84106
parentheses after the link, as that harms readability. */
85107

86-
a[href*="mailto"]::after, a[data-toggle="tooltip"]::after, a[href].noCrossRef::after, a[href^="http://"]::after, a[href^="https://"]::after {
108+
a[href*="mailto"]::after, a[data-toggle="tooltip"]::after, a[href].noCrossRef::after {
87109
content: "";
88110
}
89111

pdf_upload.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1+
# Equivalent function
2+
myvenv() {
3+
source /Users/tomjoht/myvenv/bin/activate
4+
}
15
myvenv
6+
27
aws s3 cp ~/projects/learnapidoc/pdf/docapis_one.pdf s3://learnapidoc-outputs --profile wasabi
38
aws s3 cp ~/projects/learnapidoc/pdf/docapis_two.pdf s3://learnapidoc-outputs --profile wasabi
49
aws s3 cp ~/projects/learnapidoc/pdf/docapis_three.pdf s3://learnapidoc-outputs --profile wasabi
@@ -14,4 +19,4 @@ aws s3 cp ~/projects/learnapidoc/pdf/docapis_twelve.pdf s3://learnapidoc-outputs
1419
aws s3 cp ~/projects/learnapidoc/pdf/docapis_thirteen.pdf s3://learnapidoc-outputs --profile wasabi
1520
aws s3 cp ~/projects/learnapidoc/pdf/docapis_fourteen.pdf s3://learnapidoc-outputs --profile wasabi
1621
aws s3 cp ~/projects/learnapidoc/pdf/docapis_fifteen.pdf s3://learnapidoc-outputs --profile wasabi
17-
echo 'done uploading'
22+
echo 'done uploading'

0 commit comments

Comments
 (0)