Macro shows "This file is empty"

What you are seeing

The macro shows "This file is empty".


#Why it happens

The file really is empty (zero bytes). Every viewer sees this message, rather than a blank space or a diagram that never finishes loading.


#What to do

Check the file in GitHub. It is genuinely empty on the branch you configured.


#Settings involved

Setting

Where

What it does

Hide GitHub across the whole site

App property capable-global-hidden-capabilities, object name hiddenCapabilities

Hides GitHub from the Capable byline menu for the whole site. It only affects that menu: existing GitHub macros keep showing on pages.

Turn GitHub on or off per space

Space property <APP_HASH>_capable, object name capabilities.alwaysOff or capabilities.alwaysOn

alwaysOff hides GitHub from the byline menu in that space. alwaysOn shows it even on pages with no GitHub macro. Again, the menu only: macros still show.

Unlicensed and anonymous access

Not user-configurable

Readers without a licence, or who are signed out entirely, can still see public file content in a read-only view. They do not get the Github entry in the byline menu.


#Limits that apply here

Limit

Value

What happens

Public repository search shows the first page only

-

Public search runs only when you type a query, and only for the first page. Paging further shows just your own repositories.

Image display height

800px

Images are shown up to this height.

Code viewer height

600px

The code viewer is shown up to this height.



Found it? Good.